Skip to content

A simple web app based on flask and python to download original sound files from freesound.org using oauth2 authorizsation

Notifications You must be signed in to change notification settings

albincorreya/freesound-oauth2-python-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

freesound-oauth2-python-flask

A simple web app based on flask and python to download original sound files from freesound.org using oauth2 authorization. T

NOTE : If you want much more sophiscated and scalable search, filtering and effective downloads, use the freesound-python client library, you can also find some simple cases in the repo. An oauth2 example can be found here.

Code optimised from kemitche's repository.

Setup

  1. Install dependencies from requirements.txt. Ideally create a virtualenv and install the requirements

  2. Apply for your freesound API key from here and update it in the code

  3. [IMPORTANT] Set your "callback_url" as http://localhost:5000/freesound_callback

  4. Open terminal and navigate to your working directory and run the code.

In Mac

  $ export FLASK_APP=freesound_oauth2.py
  $ flask run

In Windows

  $ export FLASK_APP=freesound_oauth2.py
  $ python -m flask run
  1. Open your web browser with url http://localhost:5000 and authorise your app.

Find flask documentation here

About

A simple web app based on flask and python to download original sound files from freesound.org using oauth2 authorizsation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages