This repository was archived by the owner on Mar 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Adding custom api keys
rxsegrxup edited this page Nov 4, 2014
·
6 revisions
- Navigate to consumerapi.bitcasa.com/admin/applications/new and login
- 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) - Once created it will present you with your client ID and client secret
- 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>"
- Run the oauth generator via this command:
python getfiles.py --oauth
- Navigate to the output link and login
- Store the token by running the following command
python getfiles.py --settoken <new access token>
- 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.