Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

7 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Produces content for Chahub.

Installation

$ git clone git@github.com:codalab/chahub-producers.git
$ cd chahub-producers
$ pip install -r requirements.txt

You'll need to get an API KEY from a Chahub admin, please post an issue if you'd like to produce content for Chahub!

Usage

$ export CHAHUB_API_URL='https://chahub.org/api/v1/'
# You can only get a Chahub API key from a Chahub admin
$ export CHAHUB_API_KEY=123925d-ac20-455c-asdf-bf624asdfbef
$ python scrape.py --adapter_name kaggle

Running on Heroku

  1. Get Chahub Producer API keys from a Chahub admin (post an issue on our Github for help with this) for each producer you'd like to make
  2. In our case we setup one for Kaggle and one for RAMP
  3. Set your API key environment variables on Heroku, like CHAHUB_API_KEY_KAGGLE and CHAHUB_API_KEY_RAMP
  4. Setup Heroku Scheduler (in Resources tab)
  5. "Add a new job"
  6. Put in the command python scrape.py
  7. Run it once daily using a free dyno
  8. Save it

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages