https://github.com/yamadapc/curl-all-pages
Wrapper on top of curl to follow Link headers
https://github.com/yamadapc/curl-all-pages
Last synced: 3 months ago
JSON representation
Wrapper on top of curl to follow Link headers
- Host: GitHub
- URL: https://github.com/yamadapc/curl-all-pages
- Owner: yamadapc
- License: mit
- Created: 2015-11-10T13:46:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T17:49:36.000Z (over 9 years ago)
- Last Synced: 2024-12-24T11:57:47.145Z (5 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
curl-all-pages
==============
Wrapper on top of curl to follow Link headers.## Usage
```
curl-all-pages -H 'Authorization: Basic $AUTHSTUFF' \
'https://api.bugsnag.com/projects/$BUGSNAG_PID/events?start_date=$START&stop_date=$STOP' > events.jsonl
```Outputs on `stderr`
```
Request 0 done
Request 1 done
Request 2 done
# ...
```Outputs on `stdout`
```
[...] # Response 0[...] # Response 1
[...] # Response 2
# ...
```## License
MIT## Donations
Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y