Questions tagged [curl]
cURL is a library and command-line tool for transferring data using several protocols such as HTTP, FTP and Telnet.
76 questions
5
votes
2
answers
148
views
Fetch a Quranic Verse from the Web
Verse is a command-line program that allows you to retrieve specific verses
from the Quran. It takes a chapter and verse number as input and provides you
with the corresponding Quranic verse.
...
6
votes
1
answer
126
views
Small HTTP client/SDK created using libcurl in C language
I created a SDK in C for my Rust project (a key value store in Rust). It should give access to the HTTP routes in a simple manner. (I never worked with C outside of university.)
I used:
...
6
votes
3
answers
244
views
Download stock data from YFinance
As a project to get more familiar with curl, I decided to write a program that downloads stock data from Yahoo Finance, and does arbitrary analysis on that data. I would like to receive any critiques ...
2
votes
1
answer
147
views
Script that uses an uploaded excel file to import data to the database
I wrote a script that uses an uploaded excel file to import data to the database. It checks for the image first if it can be downloaded without any error then insert the rest of the data. With ten or ...
2
votes
1
answer
2k
views
Pay with PayPal through cURL and verify
As the REST API SDK for PHP V2 is deprecated, I wrote a simple PHP class to make a payment with PayPal through cURL and verifying it. Note :
I didn't add shipment details for payment because didn't ...
6
votes
2
answers
944
views
Extract data from api using shell scripting
So we have many vlans at work, often it is nice to see which ip ranges are associated with said vlan. We have a well developed api for displaying information about our network and thus I wrote a small ...
3
votes
1
answer
1k
views
Bash script to automatically test Artifactory access
Our team often has indeterminate access issues to our Aritfactory binaries. These issues can go missed because we may have our binaries locally cached and our projects builds may still succeed until ...
4
votes
1
answer
179
views
Shell script to download Project Euler problems and combine to PDF
This is a script I created that downloads Project Euler webpages and combines them to PDF. The script also downloads animated files.
...
1
vote
1
answer
85
views
Automatic notification system about changes to court cases
I have written an application for lawyers' offices. There is an API to fetch info about court cases. I have implemented API calls for front end when user enters particular case; one tab is filled with ...
2
votes
1
answer
2k
views
Instagram Basic Display API Full Example PHP
Here's an example script I wrote for Instagram (Facebook)'s Basic Display API. I did this for myself because I haven't used Instagram's API since their Legacy API was disabled, and I needed to ...
0
votes
1
answer
142
views
A wrapper for user authentication using cURL in PHP
So I created a wrapper class to authenticate user via POST HTTP request.
...
4
votes
1
answer
278
views
Checking for duplicate email in api response data
I am working on a small internal app that works along an external API for provisioning purpose.
The code essentially is comprised of a series of forms where the user inputs data, this data is then ...
5
votes
1
answer
128
views
Refactoring a class that counts xml dom nodes and caches the result
I saw this entertaining talk by: Bob Martin on clean code and started refactoring a relatively simple class today. I am, by no means, an expert on coding and still learning a lot every day, so I want ...
2
votes
1
answer
510
views
Parallel download of rpm packages
I use zypper to download and install for openSUSE Tumbleweed (much like everyone else of course). Unfortunately it downloads packages serially, and having about a thousand packages to update a week, ...
4
votes
1
answer
252
views
Code to fetch BitBucket repos
This actually works nicely (we have > 2k repos) but I would really like it to start producing results right away as soon as it has any. Mostly so it seems faster than it is (by being more responsive).
...