Sign in

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

If users rely on your services for location-specific information, ensuring you are providing the most accurate and accessible data is essential. By integrating reverse geocoding into your application or system, you can improve the customer experience by providing a readable address that can be displayed on a map. The following API will enable you to do that by automatically reverse geocoding a set of location coordinates and returning a street address.

To perform the operation in C/C++, you first need to install libcurl:

libcurl/7.75.0

Once the installation is complete, you can call the function with the following code:

CURL *curl;
CURLcode…

If your company sells products in Europe, you need an easy and efficient process to create an EAN-13 barcode, which is the European equivalent to the North American UPC-A barcode. By utilizing the following API in C/C++, you will be able to automatically validate and generate a PNG file of an EAN-13 barcode.

You can kick off the process by installing libcurl:

libcurl/7.75.0

Now, you can call the function by entering the barcode value and API key into the following example code:

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

Looking to optimize large PDF files for streaming download? Today’s tutorial will highlight an API solution that can be used in C/C++ to linearize the content of a PDF, enabling you to say goodbye to unproductive wait times and view the document while it is still downloading.

The first step is to install libcurl in your C/C++ project:

libcurl/7.75.0

Then, you can call the function with the following code:

CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://api.cloudmersive.com/convert/edit/pdf/optimize/linearize");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L)…

Do you gather user address information from emails or forms? If so, parsing it into individual parts for organization and use can be an aggravating task. Throw in the fact that some addresses may be invalid, and you’ve got yourself a sizable headache. To simplify the process, you can use the following API in C/C++ to normalize, validate, and retrieve location coordinates for an input structured street address.

Let’s begin the operation by installing libcurl into your C/C++ project:

libcurl/7.75.0

Next, you can call the validation function by inputting your request into the following example code:

CURL *curl;
CURLcode res;
curl =…

The aptly named EAN-13 barcode is a European Article Number with 13 digits; this particular version of the barcode is the European equivalent of the North American UPC-A format. If your business is in need of an easy way to generate an EAN-13 barcode, this tutorial has a solution for you; you can use the following API in Go to create a PNG image from a specified barcode value.

Now, you will just need to input the barcode value and API key into the below code to call the API function:

package mainimport (
"fmt"
"strings"
"net/http"
"io/ioutil"
)

Reverse geocoding is an excellent method to ensure that accurate location information is provided via your programs and applications. In this tutorial, we will demonstrate how you can use an API in Go to automatically convert latitude and longitude coordinates to a normalized street address; this will include the city, state/province, postal code, country name, and country code.

All we need to perform the operation are the location coordinates and your API key, which you can input into the following example code:

package mainimport (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {url := "https://api.cloudmersive.com/validate/address/geocode/reverse"
method := "POST"

If your business consistently receives large PDF files, you could be losing significant productivity to extensive download times. By integrating the following API into your process, you can minimize lost time by linearizing the contents of a PDF to optimize it for streaming download, which allows you to view the document while it is loading.

To call the function in Go, simply input your PDF file and API key into the below code:

package mainimport (
"fmt"
"bytes"
"mime/multipart"
"os"
"path/filepath"
"io"
"net/http"
"io/ioutil"
)
func main() {url := "https://api.cloudmersive.com/convert/edit/pdf/optimize/linearize"
method := "POST"
payload := &bytes.Buffer{}…

Manually parsing user addresses for input into programs or data-tracking tools can be an aggravating task. To simplify the process, you can use the following API in Go to normalize and validate input street addresses, with the added benefit of retrieving latitude and longitude coordinates as well.

To perform the operation, add your input parse request into the below example code:

package mainimport (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {url := "https://api.cloudmersive.com/validate/address/street-address/normalize"
method := "POST"
payload := strings.NewReader(`{
"StreetAddress": "<string>",
"City": "<string>",
"StateOrProvince": "<string>",
"PostalCode": "<string>",
"CountryFullName": "<string>",
"CountryCode": "<string>"
}`)
client := &http.Client {…

EAN barcodes were created for use in Europe but are recognized internationally. Similar to the UPC formats, EAN codes only encode numeric data, which enables an effortless scanning process. The EAN-13 barcode contains 13 digits that represent the country code, product and manufacturer information, and checksum. In the following tutorial, we will demonstrate how you can use an API in Swift to instantly generate an EAN-13 barcode image for your tracking convenience.

To run the API and call the function, input your barcode value into the below example code:

import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
var semaphore = DispatchSemaphore…

If your website or application offers location-based services, reverse geocoding is a critical component to include. The reverse geocoding process converts latitude and longitude coordinates to a normalized, readable address that can be reached on a map. To automate this otherwise tedious process, you can use the following API in Swift to instantly convert input location coordinates.

To call the API function, simply input your coordinates and API key into the below code:

import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
var semaphore = DispatchSemaphore (value: 0)let parameters = "{\n \"Latitude\": \"<double>\",\n \"Longitude\": \"<double>\"\n}"
let postData = parameters.data(using: .utf8)
var…

Cloudmersive

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