Skip to content

cyrilwarde-wfp/DataLibraryAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Library API tool

This is a simple Python tool to get data from the RAM Data Library API in CSV format.

Currently this tools query three API endpoints:

  • user_list: Get list of users registered in Data Library
  • package_list: Get survey codes (YYMM_ISO3_SURVEYTYPE) for all surveys available in the platform
  • current_package_list_with_resources: Complete information about surveys in Data Library, including name of survey, survey code, country and uploader

For more information on the RAM Data Library API, consult the documentation

How to use it

  1. Make sure you have Python installed on your machine.
  2. Get an API key from your Data Library account
  3. Add your API key to the api_key.py file. Do not forget to add this file to the .gitignore!
  4. Run main.py

Quick tip

If you're stuck, use the help() function in the DataLibraryData class for information about usage

About

Script to query the Data Library API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%