All Projects → robinst → curlall

robinst / curlall

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT
Simple curl-like CLI tool to automatically page through APIs

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to curlall

Php Curl Class
PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs
Stars: ✭ 2,903 (+11512%)
Mutual labels:  curl, requests
curly.hpp
Simple cURL C++17 wrapper
Stars: ✭ 48 (+92%)
Mutual labels:  curl, requests
Curl
Custom PHP curl library for the Laravel 5 framework - developed by Ixudra
Stars: ✭ 537 (+2048%)
Mutual labels:  curl, requests
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+13320%)
Mutual labels:  curl, requests
Requester
Powerful, modern HTTP/REST client built on top of the Requests library
Stars: ✭ 273 (+992%)
Mutual labels:  curl, requests
Guzzle
Guzzle, an extensible PHP HTTP client
Stars: ✭ 21,384 (+85436%)
Mutual labels:  curl, requests
Human curl
Simple Human wrapper for cURL library
Stars: ✭ 206 (+724%)
Mutual labels:  curl, requests
libpascurl
libPasCURL is delphi and object pascal wrapper around cURL library. Library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP.
Stars: ✭ 58 (+132%)
Mutual labels:  curl
http-range
A PHP library for parsing and handling HTTP range requests.
Stars: ✭ 30 (+20%)
Mutual labels:  requests
Websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Stars: ✭ 3,477 (+13808%)
Mutual labels:  curl
Wttr.in
⛅ The right way to check the weather
Stars: ✭ 16,345 (+65280%)
Mutual labels:  curl
TF2DeepFloorplan
TF2 Deep FloorPlan Recognition using a Multi-task Network with Room-boundary-Guided Attention. Enable tensorboard, quantization, flask, tflite, docker, github actions and google colab.
Stars: ✭ 98 (+292%)
Mutual labels:  curl
Pikax
一个基于requests的P站下载器/ A pixiv downloader based on requests
Stars: ✭ 49 (+96%)
Mutual labels:  requests
Httpie
As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. https://twitter.com/httpie
Stars: ✭ 53,052 (+212108%)
Mutual labels:  curl
plz.el
An HTTP library for Emacs
Stars: ✭ 113 (+352%)
Mutual labels:  curl
Covid19 Tracker Cli
A curl-based command line tracker for Novel Coronavirus or COVID-19 pandemic. It Supports terminal for linux and macos, command prompt for windows, and termux for android with real-time updates.
Stars: ✭ 244 (+876%)
Mutual labels:  curl
updater
Update mechanism of f1jobs.co
Stars: ✭ 20 (-20%)
Mutual labels:  requests
amazon wishlist pricewatch
Periodically check your public Amazon wishlist for price reductions.
Stars: ✭ 22 (-12%)
Mutual labels:  requests
iHealth crawler
iHealth 项目的内容爬虫(一个基于 python 和 MongoDB 的医疗咨询爬虫)
Stars: ✭ 24 (-4%)
Mutual labels:  requests
requests auth
Authentication classes to be used with requests
Stars: ✭ 28 (+12%)
Mutual labels:  requests

curlall

crates.io ci

Have you ever used an API and wanted to get all results, but it had paging and it was too hard to do multiple curl calls?

That's what curlall is for: A curl-like command to automatically page through APIs.

  • Works with APIs that return pages of JSON objects (e.g. GitHub or Bitbucket APIs)
  • Prints the results, one line for each JSON object; ideal for piping to jq

demo

Tested with GitHub and Bitbucket APIs. Other websites will have different ways to do paging, so let me know if it doesn't work for yours and we can add support.

Examples

Print all repository names on bitbucket.org/atlassian:

curlall https://api.bitbucket.org/2.0/repositories/atlassian | jq -r .full_name

Limit to first 100:

curlall --limit 100 https://api.bitbucket.org/2.0/repositories/atlassian | jq -r .full_name

Print all URLs for users who starred github.com/rust-lang/rust:

curlall --user 'username:token' https://api.github.com/repos/rust-lang/rust/stargazers | jq -r .login

Installation

  1. Install Rust: https://www.rust-lang.org/tools/install
  2. Install curlall: cargo install curlall

Contributing

Pull requests, issues and comments welcome!

License

curlall is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details. Opening a pull requests is assumed to signal agreement with these licensing terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].