### API Request Example for URL Expansion Source: https://onesimpleapi.com/docs/url-expander-api-see-where-short-links-really-go Demonstrates how to make a GET request to the OneSimpleAPI URL expander to resolve a shortened URL. It includes parameters for the API token, the short URL, and the desired output format. ```http GET https://onesimpleapi.com/api/unshorten ?token=YOUR_TOKEN &url=https://bit.ly/example &output=json ``` -------------------------------- ### Cache Webpage Example Source: https://onesimpleapi.com/docs/cache This example demonstrates how to use the Cache API to cache a webpage for faster load times. It requires a token, the URL of the content, and specifies the output format and cache duration. ```url https://onesimpleapi.com/api/cache?token=YOUR_TOKEN_GOES_HERE &url=https://example.com &output=content &cache_duration=3600 &http_method=get ``` -------------------------------- ### Force Cache Update Example Source: https://onesimpleapi.com/docs/cache This example demonstrates how to force an update of the cached content by setting the 'force' parameter to 'yes'. This is useful when the original content has changed and needs to be re-cached. ```url https://onesimpleapi.com/api/cache?token=YOUR_TOKEN_GOES_HERE &output=content &url=https://example.com & force=yes ``` -------------------------------- ### Make a basic API request using cURL Source: https://onesimpleapi.com/docs/unlock-the-power-of-purchase-parity-pricing-with-the-discount-calculator-api This snippet demonstrates a basic HTTP GET request to the PPP Discount Calculator API using cURL. It includes essential parameters like token, price, origin country, destination country, max discount, and output format. ```curl curl "https://onesimpleapi.com/api/discount_calculator?token=YOUR_TOKEN&price=99&origin_country_code=US&destination_country_code=BR&max_discount=40&output=json" ``` -------------------------------- ### Color API Request and Response Example Source: https://onesimpleapi.com/docs/generate-unique-colors-from-text-with-the-color-api Demonstrates how to make a GET request to the Color API to generate a unique color from text and the structure of the JSON response. The API deterministically generates colors based on the provided text, offering hex, RGB, HSL, and a color palette. ```http GET https://onesimpleapi.com/api/color ?token=YOUR_TOKEN &text=marketing-team &output=json ``` ```json { "hex": "#6a4c93", "rgb": [106, 76, 147], "hsl": [265, 32, 44], "hex_palette": ["#936a4c", "#4c936a", "#4c6a93"] } ``` -------------------------------- ### Example JSON Response for Web Page SEO Information Source: https://onesimpleapi.com/docs/web-page-meta-tags-and-open-graph This is an example of the JSON response received from the OneSimpleApi.com Page Info API after a successful request. It includes general page information, Twitter card data, Open Graph data, and the API call's elapsed time. ```JSON { "general": { "title": "GitHub - fruitcake/laravel-cors: Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application - fruitcake/laravel-cors", "canonical": "https://github.com/fruitcake/laravel-cors" }, "twitter": { "site": "@github", "creator": null, "title": "fruitcake/laravel-cors", "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application - fruitcake/laravel-cors", "image": null, "image_alt": null }, "og": { "title": "fruitcake/laravel-cors", "url": "https://github.com/fruitcake/laravel-cors", "image": "https://avatars.githubusercontent.com/u/6661222?s=400&v=4", "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application - fruitcake/laravel-cors", "type": "object", "locale": null, "author": null }, "elapsed": 0.4300110340118408 } ``` -------------------------------- ### Image Information API Response Example Source: https://onesimpleapi.com/docs/image-info This is an example of the JSON response received from the Image Information API. It includes various metadata fields extracted from the image, such as 'make', 'model', 'exposure', 'aperture', 'date', 'latitude', 'longitude', and other photographic settings. ```JSON { "make": "NIKON", "model": "COOLPIX P6000", "exposure": "4/300", "aperture": "f/5.9", "date": "2008:11:01 21:15:07", "date_original": "2008:10:22 16:28:39", "iso": 64, "orientation": 1, "latitude": 43.46744833333334, "longitude": 11.885126666663888, "exposure_mode": "Auto", "white_balance": "Auto", "zoom_ratio": "0/100", "focal_length": "24/1", "flash": 16, "light_source": 0, "metering_mode": 5, "elapsed": 0.174103021621704 } ``` -------------------------------- ### Image Manager API - Transformations Source: https://onesimpleapi.com/docs/image-optimize-resize-google-spreadsheet Examples of common image transformations that can be applied via URL parameters. ```APIDOC ## Image Transformations ### Resize to specific dimensions ``` &width=800&height=600 ``` ### Resize maintaining aspect ratio ``` &width=800 ``` (Height auto-calculated) ### Convert to WebP ``` &format=webp ``` ### Apply compression ``` &quality=80 ``` ### Crop for social media ``` &crop=instagram_square ``` Supported social presets: `instagram_square`, `instagram_portrait`, `youtube_thumbnail`, `twitter_header`, `pinterest_pin`, and more. ``` -------------------------------- ### Python Client Example for Image Compression Source: https://onesimpleapi.com/docs/image-compression-api-reduce-file-size A Python function demonstrating how to use the Image Manager API to compress an image and retrieve the URL of the compressed version. ```APIDOC ## Python Client Example ### Description This Python code snippet shows how to programmatically compress an image using the `requests` library and the Image Manager API. It handles the API call and returns the URL of the compressed image. ### Method GET (via requests library) ### Endpoint https://onesimpleapi.com/api/image_manager ### Parameters (within function) - **source_url** (string) - The URL of the image to compress. - **quality** (integer) - Optional - Compression quality (defaults to 80). - **format** (string) - Optional - Output format (defaults to 'webp'). - **token** (string) - Required - Your API token. ### Request Example (Python Code) ```python import requests API_TOKEN = "YOUR_API_TOKEN" def compress_image(source_url, quality=80, format='webp', token=API_TOKEN): response = requests.get('https://onesimpleapi.com/api/image_manager', params={ 'token': token, 'image': source_url, 'quality': quality, 'format': format, 'output': 'json' }) response.raise_for_status() # Raise an exception for bad status codes return response.json()['url'] # Example usage: # original_image_url = 'https://example.com/large-photo.jpg' # compressed_image_url = compress_image(original_image_url) # print(f"Compressed image URL: {compressed_image_url}") ``` ### Response #### Success Response (200) - **url** (string) - The URL of the compressed image. #### Response Example (from `response.json()`) ```json { "url": "https://cdn.onesimpleapi.com/images/compressed/example-image-12345.webp" } ``` ``` -------------------------------- ### Cache API with POST Method Source: https://onesimpleapi.com/docs/cache This example shows how to use the Cache API with the HTTP POST method. This can be used when the URL being cached requires a POST request to retrieve its content. ```url https://onesimpleapi.com/api/cache?token=YOUR_TOKEN_GOES_HERE &output=content &url=https://example.com & http_method=post ``` -------------------------------- ### Update HTML Image Tag for CDN Source: https://onesimpleapi.com/docs/setup-image-cdn-website This example shows how to replace a static image source URL with a call to a CDN helper function within an HTML `` tag. It demonstrates a basic replacement and a more advanced usage with responsive `srcset` and `sizes` attributes. ```html Product ``` ```html Product ``` ```html {{ product.name }} ``` -------------------------------- ### Validate Email Addresses using Python Source: https://onesimpleapi.com/docs/email-validation-from-spreadsheet Provides a Python code snippet to validate an email address using the OneSimpleAPI. It includes making an HTTP GET request and handling the JSON response. Ensure you have the 'requests' library installed (`pip install requests`). ```python import requests api_token = "YOUR_TOKEN" email_to_validate = "test@example.com" url = f"https://onesimpleapi.com/api/email?token={api_token}&email={email_to_validate}" response = requests.get(url) if response.status_code == 200: data = response.json() print(data) else: print(f"Error: {response.status_code}") ``` -------------------------------- ### PPP Discount Calculator API Source: https://onesimpleapi.com/docs/what-is-purchasing-power-parity-saas-guide Calculate the appropriate PPP discount for a given country and base price. The API uses World Bank data to determine theoretical discounts and allows for a maximum applied discount. ```APIDOC ## GET /api/discount_calculator ### Description Calculates the Purchasing Power Parity (PPP) discount for a destination country based on a base price and origin country. It returns both the theoretical PPP discount and an applied discount, capped by a maximum. ### Method GET ### Endpoint `/api/discount_calculator` ### Parameters #### Query Parameters - **token** (string) - Required - Your API authentication token. - **price** (number) - Required - The base price in the origin currency. - **origin_country_code** (string) - Required - The ISO 3166-1 alpha-2 country code for the origin country (e.g., 'US'). - **destination_country_code** (string) - Required - The ISO 3166-1 alpha-2 country code for the destination country (e.g., 'BR'). - **max_discount** (integer) - Optional - The maximum percentage discount to apply (0-100). Defaults to 50 if not provided. - **output** (string) - Optional - The desired output format. Currently only 'json' is supported. ### Request Example ```json { "example": "GET https://onesimpleapi.com/api/discount_calculator?token=your_token&price=99&origin_country_code=US&destination_country_code=BR&max_discount=50&output=json" } ``` ### Response #### Success Response (200) - **destination_country_name** (string) - The name of the destination country. - **ppp_theoretical_discount** (integer) - The calculated theoretical PPP discount percentage. - **discount** (integer) - The applied discount percentage, capped by `max_discount`. - **discounted_price_in_origin_currency** (number) - The final price after applying the discount, in the origin currency. #### Response Example ```json { "example": "{\"destination_country_name\": \"Brazil\", \"ppp_theoretical_discount\": 52, \"discount\": 50, \"discounted_price_in_origin_currency\": 49.5}" } ``` ``` -------------------------------- ### Implement WebP Fallback for Images Source: https://onesimpleapi.com/docs/setup-image-cdn-website This HTML snippet demonstrates how to use the `` element to provide a WebP version of an image for modern browsers and a fallback (e.g., JPEG) for older browsers. It utilizes the CDN helper function to generate URLs for both formats. ```html Product ``` -------------------------------- ### Calculate PPP Discount using Python Source: https://onesimpleapi.com/docs/what-is-purchasing-power-parity-saas-guide This Python function utilizes the requests library to interact with the PPP Discount Calculator API. It takes a country code, base price, and API token as input, and returns a dictionary containing the country name, theoretical discount, applied discount, and the final discounted price. ```python import requests def get_ppp_discount(country_code, base_price, api_token): response = requests.get('https://onesimpleapi.com/api/discount_calculator', params={ 'token': api_token, 'price': base_price, 'origin_country_code': 'US', 'destination_country_code': country_code, 'max_discount': 50, 'output': 'json' }) data = response.json() return { 'country': data['destination_country_name'], 'theoretical_discount': data['ppp_theoretical_discount'], 'applied_discount': data['discount'], 'final_price': data['discounted_price_in_origin_currency'] } # Example brazil = get_ppp_discount('BR', 99, 'your_token') # Returns: {'country': 'Brazil', 'theoretical_discount': 52, 'applied_discount': 50, 'final_price': 49.5} ``` -------------------------------- ### Create Expiring Links with Python Source: https://onesimpleapi.com/docs/expiring-links-api-create-self-destructing-short-urls Illustrates how to generate expiring short URLs using Python's requests library. It provides examples for single-use password reset links and time-limited promotional links with specified start and end dates. Requires an API token and uses keyword arguments for expiration options. ```python from datetime import datetime, timedelta import requests def create_expiring_link(url, **options): response = requests.get( "https://onesimpleapi.com/api/shortener/new", params={ "token": "YOUR_API_TOKEN", "url": url, "output": "json", **options } ) return response.json() # Password reset: single-use, expires in 1 hour # Note: single_use handles the "one click" expiration reset_link = create_expiring_link( "https://app.com/reset?token=abc123", single_use="true" ) # Promotion: valid for the weekend only promo = create_expiring_link( "https://shop.com/weekend-deal", start_date="2024-02-03", end_date="2024-02-04" ) ``` -------------------------------- ### Generate Website Screenshot as Image (HTML) Source: https://onesimpleapi.com/docs/screenshot This example demonstrates how to use the Screenshot API to generate a website screenshot and display it directly as an image on a web page using an `` tag. It requires your API token and the URL of the page to screenshot. ```html ``` -------------------------------- ### API Request to Unshorten a URL (JSON Output) Source: https://onesimpleapi.com/docs/expand-shortened-links-from-spreadsheet This example demonstrates how to make a GET request to the URL Unshorten API to expand a shortened URL. It includes the API token and the URL to be expanded, requesting the output in JSON format. The response provides the expanded URL, number of hops, elapsed time, and redirect trace. ```http GET https://onesimpleapi.com/api/unshorten ?token=YOUR_TOKEN &url=https://bit.ly/suspicious-link &output=json ``` -------------------------------- ### Test Image CDN API URL Source: https://onesimpleapi.com/docs/setup-image-cdn-website This is an example URL to test the Image Manager API. It includes parameters for the API token, the source image URL, desired width, and output format. Ensure you replace 'YOUR_TOKEN' with your actual API token. ```URL https://onesimpleapi.com/api/image_manager?token=YOUR_TOKEN&image=https://example.com/photo.jpg&width=800&format=webp ``` -------------------------------- ### Cache API - GET Request Source: https://onesimpleapi.com/docs/cache-api-speed-up-api-responses-intelligent-caching This endpoint caches responses from a given URL for a specified duration. By default, it makes GET requests to the target URL. ```APIDOC ## GET /api/cache ### Description Caches the response from a specified URL for a configurable duration. Subsequent requests within the cache duration will return the stored response instantly. ### Method GET ### Endpoint https://onesimpleapi.com/api/cache ### Parameters #### Query Parameters - **token** (string) - Required - Your OneSimpleAPI authentication token. - **url** (string) - Required - The URL of the external API to cache. - **cache_duration** (integer) - Required - The duration in seconds to cache the response. - **force** (boolean) - Optional - If true, bypasses the cache and fetches fresh data from the source, updating the cache. - **output** (string) - Optional - Specifies the output format. Options: 'content' (default), 'json', 'csv/for_google_docs'. ### Request Example ``` https://onesimpleapi.com/api/cache?token=YOUR_API_TOKEN&url=https://api.example.com/data&cache_duration=3600 ``` ### Response #### Success Response (200) - **body** (any) - The cached response from the original URL, or a JSON object containing metadata if 'output' is set to 'json'. #### Response Example (output: 'content') ```json { "data": "cached response content" } ``` #### Response Example (output: 'json') ```json { "cache_duration": 3600, "expires_at": "2023-10-27T10:00:00Z", "original_url": "https://api.example.com/data", "response_size_bytes": 1024, "content": "cached response content" } ``` ``` -------------------------------- ### Basic Image Optimization URL Source: https://onesimpleapi.com/docs/why-image-optimization-is-critical-for-your-website-s-performance This URL demonstrates basic image optimization parameters. It resizes the image to a specified width, converts it to WebP format, compresses it to a given quality level, and serves it via a global CDN. Replace TOKEN with your actual API token. ```URL https://onesimpleapi.com/api/image_manager?token=TOKEN &image=SOURCE_URL &width=800 &format=webp &quality=85 ``` -------------------------------- ### Integrate Reading Time Calculation in Build Scripts Source: https://onesimpleapi.com/docs/how-to-calculate-reading-time-for-blog-posts This example demonstrates how to integrate reading time calculation into a build script for static site generators. It iterates through posts, calls a reading time calculation function, and saves the result to the post's metadata. ```shell # Build script for post in posts: analysis = calculate_reading_time(post.content, API_TOKEN) post.reading_time = analysis['minutes'] post.save() ``` -------------------------------- ### API Response Example Source: https://onesimpleapi.com/docs/efficiency-and-creativity-in-color-design-how-onesimpleapi-s-color-palette-generator-can-streamline-your-workflow This is an example of the JSON response received from the Text to Color API. It includes the generated color in HEX, RGB, and HSL formats, as well as a palette of complementary colors. ```json { "hex": "#7b4a9e", "rgb": [123, 74, 158], "hsl": [275, 36, 45], "hex_palette": ["#9e7b4a", "#4a9e7b", "#4a7b9e"] } ``` -------------------------------- ### Text Analysis API - GET Request Source: https://onesimpleapi.com/docs/analyze-text-with-readability-reading-time-and-sentiment-apis-from-onesimpleapi Analyze text content using a GET request. This method is suitable for shorter texts. You can provide either 'text' or 'url' as a parameter. ```APIDOC ## GET /api/readability ### Description Analyzes text content to provide readability scores, reading time estimates, and sentiment analysis. Suitable for shorter texts. ### Method GET ### Endpoint /api/readability ### Parameters #### Query Parameters - **token** (string) - Required - Your API authentication token. - **text** (string) - Optional - The text content to analyze. Use this or the 'url' parameter. - **url** (string) - Optional - The URL of the webpage to analyze. Use this or the 'text' parameter. - **output** (string) - Optional - The desired output format. Supported formats: `json`, `text`, `csv`, `for_google_docs`. Defaults to `json`. ### Request Example ``` GET https://onesimpleapi.com/api/readability?token=your_token&text=Your content here... ``` ### Response #### Success Response (200) - **reading_ease** (number) - Flesch Reading Ease score. - **grade_level** (number) - Flesch-Kincaid Grade Level. - **automated_readability_index** (number) - Automated Readability Index. - **reading_minutes** (integer) - Estimated reading time in minutes. - **reading_seconds** (integer) - Estimated reading time in seconds. - **words** (integer) - Total word count. - **sentences** (integer) - Total sentence count. - **letters** (integer) - Total letter count. - **average_words_per_sentence** (number) - Average words per sentence. - **average_syllables_per_word** (number) - Average syllables per word. - **difficult_words** (integer) - Count of difficult words. - **sentiment** (object) - Sentiment analysis results. - **positive** (number) - Score for positive sentiment (0-1). - **negative** (number) - Score for negative sentiment (0-1). - **neutral** (number) - Score for neutral sentiment (0-1). #### Response Example ```json { "reading_ease": 65.2, "grade_level": 8.1, "automated_readability_index": 7.8, "reading_minutes": 4, "reading_seconds": 32, "words": 1087, "sentences": 52, "letters": 5234, "average_words_per_sentence": 20.9, "average_syllables_per_word": 1.4, "difficult_words": 34, "sentiment": { "positive": 0.45, "negative": 0.12, "neutral": 0.43 } } ``` ``` -------------------------------- ### Convert Currency with Exchange Rate API Source: https://onesimpleapi.com/docs/exchange-rate This example demonstrates how to convert a specific value from one currency to another using the Exchange Rate API. It requires an API token, the source currency, the destination currency, and the value to convert. The output is a URL that, when accessed, provides the exchange rate information. ```html ``` -------------------------------- ### Full Image Manager API URL with Transformations Source: https://onesimpleapi.com/docs/image-optimize-resize-google-spreadsheet This example illustrates a complete URL for the Image Manager API, incorporating multiple transformation parameters. It specifies the image source, desired dimensions, format, quality, and other settings, demonstrating how to chain parameters for comprehensive image manipulation. ```url https://onesimpleapi.com/api/image_manager?token=YOUR_TOKEN &image=https://example.com/photo.jpg &width=800 &height=600 &format=webp &quality=85 ``` -------------------------------- ### Construct Image Manager API URL Source: https://onesimpleapi.com/docs/looking-for-a-simple-and-efficient-way-to-manage-and-resize-your-images-on-a-cdn This example demonstrates how to construct a URL to the Image Manager API for resizing, converting, and optimizing an image. It specifies the image source, desired dimensions, format, and quality. ```url https://onesimpleapi.com/api/image_manager?token=YOUR_TOKEN &image=https://yoursite.com/original.jpg &width=800 &height=600 &format=webp &quality=85 ``` -------------------------------- ### Color API JSON Response Example Source: https://onesimpleapi.com/docs/color-unique-color-for-text-and-color-palette This is an example of the JSON response received from the Color API when generating a color and palette from text. It includes the generated color in HEX, RGB, and HSL formats, an array of HEX color palette values, and the request processing time. ```json { "hex": "#783A3A", "rgb": [ 120, 58, 58 ], "hsl": [ 0, 0.34831460674157305, 0.34901960784313724 ], "hex_palette": [ "#3A4D78", "#3A784C", "#5E783A" ], "elapsed": 0.0007 } ``` -------------------------------- ### Cache API Output JSON for Monitoring Source: https://onesimpleapi.com/docs/cache-expensive-api-calls-save-money This example demonstrates how to request cache metadata in JSON format. Setting the 'output' parameter to 'json' provides details about the cache, including expiration time and elapsed time for the fetch, which is valuable for monitoring cache hit rates and tuning cache durations. ```url https://onesimpleapi.com/api/cache ?token=YOUR_API_TOKEN &url=https://api.example.com/data &cache_duration=3600 &output=json ``` -------------------------------- ### GET Request to Unshorten URL Source: https://onesimpleapi.com/docs/easily-expand-shortened-link-urls-with-onesimpleapi This snippet demonstrates how to make a GET request to the Link Expander API to unshorten a given URL. It requires an API token and specifies the output format as JSON. The API follows all redirects and returns the final destination URL along with other details. ```HTTP GET https://onesimpleapi.com/api/unshorten ?token=YOUR_TOKEN &url=https://bit.ly/unknown-link &output=json ``` -------------------------------- ### Analyze Webpage URL with Python (GET Request) Source: https://onesimpleapi.com/docs/analyze-text-with-readability-reading-time-and-sentiment-apis-from-onesimpleapi This Python function shows how to analyze the content of a webpage by providing its URL to the Text Analysis API using a GET request. It requires the URL and an API token, returning the analysis results as JSON. This is useful for evaluating existing online content. ```python def analyze_webpage(url, api_token): response = requests.get('https://onesimpleapi.com/api/readability', params={ 'token': api_token, 'url': url, 'output': 'json' }) return response.json() ``` -------------------------------- ### Calculate PPP Discount using API Source: https://onesimpleapi.com/docs/ppp-discount-calculator This example demonstrates how to call the PPP Discount Calculator API to determine a fair discount for a service. It requires your API token, the original price, origin and destination country codes, and the maximum discount percentage. The API returns detailed pricing information in the destination currency, including theoretical and applied discounts. ```HTTP https://onesimpleapi.com/api/discount_calculator?token=YOUR_TOKEN_GOES_HERE&price=100&origin_country_code=CH&max_discount=30&destination_country_code=AR&output=json ``` -------------------------------- ### Analyze Text with Python (GET Request) Source: https://onesimpleapi.com/docs/analyze-text-with-readability-reading-time-and-sentiment-apis-from-onesimpleapi This Python function demonstrates how to use the requests library to call the Text Analysis API via a GET request. It takes the text content and an API token as input and returns the analysis results in JSON format. This method is suitable for shorter texts. ```python import requests def analyze_text(text, api_token): response = requests.get('https://onesimpleapi.com/api/readability', params={ 'token': api_token, 'text': text, 'output': 'json' }) return response.json() # Comprehensive analysis result = analyze_text("Your content here...", 'your_token') print(f"Readability: {result['reading_ease']}") print(f"Grade Level: {result['grade_level']}") print(f"Reading Time: {result['reading_minutes']} min") print(f"Sentiment: {max(result['sentiment'], key=result['sentiment'].get)}") ``` -------------------------------- ### API Request for Image Compression Source: https://onesimpleapi.com/docs/image-compression-api-reduce-file-size This example shows how to construct a URL to request image compression from the API. It includes parameters for the image source URL, desired quality, and output format. The 'token' parameter is required for authentication. ```http https://onesimpleapi.com/api/image_manager?token=TOKEN &image=SOURCE_URL &quality=85 &format=webp ``` -------------------------------- ### HTML: Basic Responsive Image Implementation Source: https://onesimpleapi.com/docs/the-benefits-of-responsive-images-and-how-to-implement-them Demonstrates how to use the Image Manager API to serve different image sizes for desktop, tablet, and mobile devices using basic `` tags with varying `width` parameters. ```html ``` -------------------------------- ### Call Color Palette Generator API (GET Request) Source: https://onesimpleapi.com/docs/color-palette-generator-api-for-design-automation Demonstrates how to make a GET request to the Color Palette Generator API to retrieve a color and its complementary palette. The API accepts text or color values and returns color information in JSON format. Ensure you replace 'YOUR_TOKEN' with your actual API token. ```http GET https://onesimpleapi.com/api/color ?token=YOUR_TOKEN &text=my-brand &output=json ``` ```http GET https://onesimpleapi.com/api/color ?token=YOUR_TOKEN &text=%234a7c59 &output=json ``` ```http GET https://onesimpleapi.com/api/color ?token=YOUR_TOKEN &text=rgb(74, 124, 89) &output=json ```