Coder Social home page Coder Social logo

smugcmd's Introduction

This app is in development for now, so you'll need an api key to use this interface.
get one here: http://www.smugmug.com/hack/apikeys

When you have your api key + secret, you use it one of two ways,
  method A) put it in 'apikey.txt' using 'apikey_example.txt' as a reference.
  method B) within 'smugcmd_shared.py', modify values of CONSUMER_KEY and CONSUMER_SECRET in the designated location.

Then you need to authenticate using the enclosed oauth.


oauth works like this:
	obtain a request token
	authorize the request token (via URL login)
	use request token to get access token
	save access token to be used for subsequent accesses

the enclosed scripts handle this.
setup_step1_authorize_access.py:
	run this to authorize access to your account. It will open a URL to smugmug where you will login and allow this application to access your account. (If a webpage does not automatically open, a url is also printed to the console.)
setup_step2_get_access_token.py:
	after allowing access, use this script to obtain an access token. A file will be created in the appdir and this token will be used to access your smugmug account.
	keep this file safe; it contains information to access your smugmug account.

setup_step3_check_access.py:
	after step 1 and 2 are finished, use this script to check your access.


.... more later

smugcmd's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.