Skip to content
Quick C Curl based call to api.ipify.org
C Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
ipify.c

README.md

API call to ipify in C using libcurl

Just a quick C program making a call to ipify and print the IP as JSON format.

Build and Run

$ make && ipify

Test

$ make test
{"ip":"167.220.196.18"}
success

License

MIT

You can’t perform that action at this time.