Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Adding custom api keys

rxsegrxup edited this page Nov 4, 2014 · 6 revisions
  1. Navigate to consumerapi.bitcasa.com/admin/applications/new and login
  2. Fill in the form to create a new application. Be sure to set the redirect URL to https://rose-llc.com/bitcasafilelister/ (Although it should still work if you don't)
  3. Once created it will present you with your client ID and client secret
  4. Copy the client ID and client secret into the utils.py file at line 4 and 5 as displayed below.
CLIENTID = "<New Client ID>"
CLIENTSECRET = "<New Client Secret>"
  1. Run the oauth generator via this command:
python getfiles.py --oauth
  1. Navigate to the output link and login
  2. Store the token by running the following command
python getfiles.py --settoken <new access token>

Notes:

  • Since the BitcasaFileLister php app does not have your client id and secret it needs to re-authenticate you to display your files and folders.
  • Setting the token should only need to be done once.
  • If you return to the BitcasaFileLister after you have set your token please ignore the message and DO NOT set the new token.
Clone this wiki locally