arislaode / save-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • API Bussiness & technology news use http://newsapi.org/

  • Database MongoDB:

    • Create database name: newsapi
    • Creat collection name: newsapi_data
  • install enviroment --> virtualenv env

  • activate environment --> source env/bin/activate

  • install all library based on requirements.txt

  • Command to save article technology news in mongoDB: --> python insert_api.py technology_news

  • Command to save article bussiness news in mongoDB: --> python insert_api.py bussiness_news

About


Languages

Language:Python 100.0%