Sign in

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

These days it has become increasingly difficult to create a secure environment for your business and clients. Due to its commonality across devices, an IP address has become a prime target for network infiltration/infection. The following API can be used in C/C++ to not only identify known threat IPs, bots, and Tor exit nodes, but also extract location information.

Our first step is to run this command to install libcurl in your project:


After the installation, we’re ready to call the validation function:

CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(curl, CURLOPT_URL, ""); curl_easy_setopt(curl…

Image format conversions can be a tedious and time-consuming process, and we all know that no one is excited about the prospect of spending all day on the manual task. So if you have a GIF that needs to be transformed into a PNG, why not make the jump between formats faster and more efficient? In the following tutorial, I will be showing you how to use an API in C/C++ to automate the conversion process with just a few lines of code and your input file.

Let’s start by installing libcurl into your C/C++ project:


Once the installation…

Receiving an invalid CSV file error is something that none of us look forward to, and finding a solution for the error can be a real pain as well. Instead of attempting to code a validation system manually, which is a tedious task, we will be discussing how you can utilize an API in C/C++ to validate a CSV file and identify the errors if there any present.

To use this time-saving API, let’s install libcurl in our C/C++ project:


With the installation complete, we are ready to call the validation function with the following code:

CURL *curl; CURLcode…

While Excel files may be the go-to format for data management and organization, you can run into some issues in preserving the original function and quality of the data when attempting to transfer it to a web application. To avoid problems like these from delaying or injuring your goals, you can automatically convert an Excel file to the more online-friendly JSON format by using the following API in C/C++.

To use this API, we first need to install libcurl into your project:


Following the installation, we can call the Excel to JSON conversion function:

CURL *curl; CURLcode res; curl…

If you have large files you need to share, compressing them into a zip archive can be a helpful solution to save storage space and ensure successful email delivery. However, if the files contain sensitive information, you may wish to encrypt and protect them with a password as well. The following API will allow you to achieve both of those goals via a single process in Swift; all you need for the operation are the input file(s), password for the output file, and encryption algorithm.

To run the API, simply add the above parameters into the following code, along with…

Did you know that you can learn a lot about users by checking out their IP address? That little string of numbers that composes an IP address contains a wealth of information that can be used to better understand your client base, as well as identify potential threats. In the following tutorial, we will demonstrate how you can use an API in Swift to extract data from an IP address. It’s a simple process that can provide valuable results.

All you’ll need to perform the validation is the IP address and your API key; if you need to retrieve your…

While it’s been around since the late 1980s, the Graphic Interchange Format (GIF) has definitely upped its popularity over the past decade due to its wide support between online applications and its capacity for animations. However, the PNG format, which was developed in the mid-1990s as a replacement for GIF, offers a broader range of color and transparency options. If you need to convert a GIF to PNG, we can help you avoid the lengthy process of writing the necessary code by providing you with an API solution in Swift that will perform the function for you.

To use the…

While CSV files can be great for organizing large amounts of data, they aren’t exactly known for their simplicity. Due to their complex design, it can be a common occurrence to receive an invalid error for a CSV document, which can really throw a wrench in your productivity for the day. Utilizing an API to automatically validate a CSV file can be the perfect solution to enable you to speed up the process and identify the errors that are holding you up.

To perform the validation in Swift, all you need is the following code, the CSV file you want…

Attempting to transfer spreadsheet data to JSON manually is a complex process guaranteed to chew up your time and give you a headache. To improve productivity and simplify your task, you can use the following API in Swift to instantly convert data from an Excel spreadsheet to JSON. The function will preserve your original formatting, so you won’t have to worry about degradation of quality or loss of data either.

To perform the operation, simply plug your Excel file and API key into the following code; if you don’t have an API key, you can retrieve one by registering for…

If you need to share large files, one of the most efficient formats to utilize is the ZIP format; this will compress your files into a compact zip folder that won’t overwhelm your recipient’s storage space. Additionally, ZIP files can be easily protected through encryption and password-protection, ensuring that the information can’t be accessed without your knowledge. The following API will allow you to create new ZIP files and apply encryption and password protection in JavaScript.

To get things started, we will run this command to install the jQuery library:

bower install jquery

For the next step, we are going…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store