Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rollbar/api-people-example
Shows how to get the Person data for each occurrence of a given list of item ids
https://github.com/rollbar/api-people-example
rollbar-api
Last synced: about 1 month ago
JSON representation
Shows how to get the Person data for each occurrence of a given list of item ids
- Host: GitHub
- URL: https://github.com/rollbar/api-people-example
- Owner: rollbar
- Created: 2013-11-06T23:05:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-12-03T15:42:14.000Z (about 3 years ago)
- Last Synced: 2024-04-09T22:02:06.503Z (9 months ago)
- Topics: rollbar-api
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 25
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# api-people-example
Script to query the Rollbar API for "person" data for each occurrence of a list of items.
To run, you'll need:
- python with requests 2.0 installed (virtualenv will work)
- the 'read' access token for the project the items are in (find this in Settings > Access Tokens)
- the list of item ids (see below).Output is written to a file with the person data for each occurrence on each line. Occurrences without person data are skipped. Output is written as a json object for each line.
Stdout will have status information.
Usage:
```
python fetch_people_for_items.py []
```