Skip to main content

Chart Generator is a simple tool for generating charts from data. It returns a URL to the generated image of the chart.

Project description

Chart Generator API

Chart Generator is a simple tool for generating charts from data. It returns a URL to the generated image of the chart.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Chart Generator API


Installation

pip install apiverve-chartgenerator

Configuration

Before using the chartgenerator API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Chart Generator API documentation is found here: https://docs.apiverve.com/api/chartgenerator.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_chartgenerator.apiClient import ChartgeneratorAPIClient

# Initialize the client with your APIVerve API key
api = ChartgeneratorAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = {  "type": "bar",  "data": {   "labels": [ "Q1", "Q2", "Q3", "Q4" ],   "datasets": [    {     "label": "Users",     "data": [ 50, 60, 70, 180 ]    },    {     "label": "Revenue",     "data": [ 100, 200, 300, 400 ]    }   ]  } } 
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "id": "15e899a6-5eec-40ca-a617-4480f5a801c8",
    "format": ".png",
    "expires": 1740173365411,
    "type": "bar",
    "downloadURL": "https://storage.googleapis.com/apiverve.appspot.com/chartgenerator/15e899a6-5eec-40ca-a617-4480f5a801c8.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1740173365&Signature=BlQo5Pp0YfG9MmKGKHtvbULtYPA5jenQ14ZYrKzqZRKGVz9yiiEsVaRq0XsVFj2fM5pSZ8NRcT%2FZj%2FtIHTFid6jxjp6PPdZmO%2Fu9uNKjS5b204U0xQxtg%2F9t6TIzk%2BzthmV0JZl8xeZph6B4htBUrZWv7gVW0RDbnHnQPfXcoqKW8CMRmN%2F9crjQNtCqpvdPMS4VMYbCoqDFpLj2SaRqitYhzK9oyA6GNQ9ZyQoM0wGJrXnyYLGq5uq00xWs9hql%2FSzehgAKJj%2BrtE%2F0%2FGfBB3zFbgzolggYQKxrj6I%2FusvO%2F3Ng5UO84Bbz%2BIqQcZr7BAUW1mF49096fYhplEOayg%3D%3D"
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2025 APIVerve, and EvlarSoft LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_chartgenerator-1.1.8.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apiverve_chartgenerator-1.1.8-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file apiverve_chartgenerator-1.1.8.tar.gz.

File metadata

  • Download URL: apiverve_chartgenerator-1.1.8.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for apiverve_chartgenerator-1.1.8.tar.gz
Algorithm Hash digest
SHA256 c10304676fda5b6303ed931ce12ae816d92dce6a1cdcb7383c31be660e8998db
MD5 aa5f98231348eae99e838a5a366e083b
BLAKE2b-256 8b6ccbc76a7c8e0c8f35d5f5c6c273303e938c81c17c9f73983ec6e2c26ef432

See more details on using hashes here.

File details

Details for the file apiverve_chartgenerator-1.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_chartgenerator-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 24e70db6304a072fc86fbe331cd0adfa1b863f98ecdd7fcecd563cb2064697d6
MD5 c78574e68a3d7f9009719bc3a31e81f8
BLAKE2b-256 adc5b57827cf02e1687e2ee5fe390d77bf61252007b025928dc0482cdd171085

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page