Skip to main content

QR Code Generator is a simple tool for generating QR codes. It returns a PNG image of the QR code.

Project description

QR Code Generator API

QR Code Generator is a simple tool for generating QR codes. It returns a PNG image of the QR code.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the QR Code Generator API


Installation

pip install apiverve-qrcodegenerator

Configuration

Before using the qrcodegenerator 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 QR Code Generator API documentation is found here: https://docs.apiverve.com/api/qrcodegenerator.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_qrcodegenerator.apiClient import QrcodegeneratorAPIClient

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

Perform Request

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

Define Query
query = {  "value": "https://myspace.com",  "type": "url",  "format": "png",  "margin": "0" }
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": "62cfbf09-2532-431c-aed0-6d4c1a6c7140",
    "format": "png",
    "type": "url",
    "correction": "M",
    "size": 5,
    "margin": 0,
    "expires": 1723788997986,
    "downloadURL": "https://storage.googleapis.com/apiverve.appspot.com/qrcodegenerator/157c42c1-d8f9-4d6b-90c8-0d9d1e63d0b2.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1723788997&Signature=VEa1VkikAPtd7MAsC7DyiQwj5RtLxh9IC063Cz8eAafaJ9NuZ1zm5F1Eq4ukM%2FPWES5ro%2BU2mgDKHEPoNXQHWBeEgIK7E1JjUMZJaY%2BrgIYnv7dViAnbNmcd6T%2BayBy9Ewv62kE7hRoHWHmmQM8tOsJxExo7KiXoW6qnz8ldm4brkSVvo3Jop6nAMOGptq2oo0PjWOhG0oYGJ0TWjyNBwWQg5t8pK%2BdarCZwfM8JHViQSgVZBIsdiu%2FNBe64U1Jx%2FKoRdY8gpjyt4b01vqP1tZ0erdQmk%2FLJOjJB9EzoftaHQ8rRw7MkVkFqxiFhdRHp9qHu51Ga2Lm2ctUUsJO%2Fpw%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 (©) 2024 APIVerve, and Evlar 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_qrcodegenerator-1.1.4.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

apiverve_qrcodegenerator-1.1.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file apiverve_qrcodegenerator-1.1.4.tar.gz.

File metadata

File hashes

Hashes for apiverve_qrcodegenerator-1.1.4.tar.gz
Algorithm Hash digest
SHA256 f258946ee0997b132f24494513c85127623dc741ad91918aaf6c20085783e98b
MD5 82204e60589317d749821e23ed8f75f6
BLAKE2b-256 89692ccc982546702997c135223463f82ea19075bbcbc46f799a68e6ef7100cd

See more details on using hashes here.

File details

Details for the file apiverve_qrcodegenerator-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_qrcodegenerator-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4efb9e2e8d0fc01afdfb13e733a9b69cb061eff101984627a6aa39b389a2d4d
MD5 ca43e10f698d59ce3a72e1b087086855
BLAKE2b-256 84b2b47929542ab1bea1312964e47f8863744944da2978e1ec1f9434b6a4c402

See more details on using hashes here.

Supported by

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