-
Notifications
You must be signed in to change notification settings - Fork 0
API
The Resource Projects API is a RESTful webservice that returns JSON data.
API Endpoint: http://resourceprojects.org/api/
GET all Contracts contracts/{limit}/{skip}
GET Contract By ID contracts/{id}
GET all Concessions concessions/{limit}/{skip}
GET Concession By ID concessions/{id}
GET Concession data By ID concession/data/{id}
GET all Projects projects/{limit}/{skip}
GET Project By ID projects/{id}
GET Project Data By ID projects/data/{id}
GET all Companies companies/{limit}/{skip}
GET Company ID companies/{id}
GET Company By ID companydata/{id}
GET Company Group ID companyGroups/{id}
GET Company Group By ID companyGroupData/{id}
GET all Commodities commodities/{limit}/{skip}
GET Commodity By ID commodities/{id}
GET all Countries countries/{limit}/{skip}
GET Country ID countries/{id}
GET Country By ID countrycommodity/{id}
GET all Sources sources/{limit}/{skip}
GET Source By ID sources/{id}
GET all Source Types sourcetypes/{limit}/{skip}
GET all Sites or Fields sites/{limit}/{skip}/{field}
GET Site or Field By ID sites/{id}
GET Site or Field data By ID sites/data/{id}
GET Site Map sites/map/{field}
GET Companies Table company_table/{type}/{id}
GET Projects Table project_table/{type}/{id}
GET Productions Table prod_table/{type}/{id}
OR if type='country' prod_table/country/{iso2}
GET Payments Table transfer_table/{type}/{id}
OR if type='country' prod_table/country/{iso2}
GET Sources Table source_table/{type}/{id}
GET Sites Table site_table/{type}/{id}
GET Contracts Table contract_table/{type}/{id}
GET Concessions Table concession_table/{type}/{id}
GET Coordinates coordinate/{type}/{id}
POST Source Type sourcetypes
PUT Source Type sourcetypes
DELETE Source Type sourcetypes
GET All Users users
GET User By ID users/{id}
POST User users
PUT User users
DELETE User users/{id}
Login login
Logout logout
About about
Glossary glossary
Landing landing
GET Payments payments
GET Projects all_projects
GET Transfer Filters transfer_filters/{country}
GET Payments by Project transfers/{limit}/{skip}
GET Payments by Recipient transfersGov/{limit}/{skip}
GET Duplicates duplicates/{type}/{limit}/{skip}
Resolve resolve/{type}
Sunburst Chart on Payments by Recipient transfer_by_gov
Sunburst Chart on Payments by Project transfers
Treemap on Payments by Company treemap
Pie Chart pie_chart?{transfer_unit}&{transfer_year}
Delete all data destroy
Main map main_map
GET Datasets datasets/{limit}/{skip}
GET Datasets By ID datasets/{id}
GET Reporting admin/etl/datasets/{dataset_id}/actions/{action_id}/report
Create a dataset datasets
Start an ETL step datasets/{id}/actions
GET test data testdata