Entradas

notion-client api

notion-sdk-py is a simple and easy to use client library for the official Notion API. It is meant to be a Python version of the reference JavaScript SDK, so usage should be pretty similar between both. Announcement (18-04-2022) Notion API is officially out of beta, and we are too: 1.0.0 is now released! Beware, Notion-Version has been upgraded to 2022-02-22 and it brings breaking changes. Installation pip install notion-client Usage Import and initialize a client using an integration token or an OAuth access token. import os from notion_client import Client notion = Client ( auth = os . environ [ "NOTION_TOKEN" ]) In an asyncio environment, use the asynchronous client instead: from notion_client import AsyncClient notion = AsyncClient ( auth = os . environ [ "NOTION_TOKEN" ]) Make a request to any Notion API endpoint. See the complete list of endpoints in the API reference. from pprint import pprint list_users_response = notion...

Ruby interface to the OMDB API

Ruby interface to the Open Movie Database API #find_by_id #find_by_title #search require 'omdb/api' client = Omdb::Api::Client.new(api_key: [your API key])` or configure with a block client = Omdb::Api::Client.new do |config| config.api_key = api_key end client.find_by_title('star wars') => #<Omdb::Api::Movie:0x007f9a7d453cf0 @actors="Harrison Ford"... client.find_by_id('tt0083929') => #<Omdb::Api::Movie:0x007f960a648f28 @actors="Sean Penn, Jennifer Jason Leigh, Judge Reinhold, Robert Romanus", client.search('indiana jones') => [#<Omdb::Api::Movie:0x007ffec28ad1a8 @title="Indiana... ruby >= 2.5.0 gem install omdb - api (The MIT License) Copyright 2022 Nicholas Palaniuk 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 limi...

Unofficial Java client for the Sonos API

Sonos API client for Java This library provides a simple integration with the Sonos API, allowing you to control players and content from any Java app. Please note that this library is currently still in development. Some aspects (particularly with the SMAPI) cannot be tested due to a lack of access, others due to not owning devices with specific features. Prerequisites Before using the library, it's recommended that you read the official documentation published on the Sonos Developer site. The reference documentation is also detailed and provides a good overview of the many different resources and endpoints open to you. You'll need to register with Sonos, create a Control Integration, and finally generate client credentials to be able to connect with the Sonos API. It's also recommended that you have at least one Sonos device to be able to properly test and play with your application (plus, listening to music or watching movies with Sonos is awesome anyway!) Maven Se...

An API wrapper written in PHP for the Rick and Morty API.

The Rick and Morty API PHP Client An API wrapper written in PHP for the Rick and Morty API at https://rickandmortyapi.com . Get all the information about characters, episodes and locations of Rick and Morty with this PHP client without messing around with Curl calls and JSON responses. This library does not return the same JSON provided by the API, but wraps everything in convenient PHP class objects. The Rick and Morty API is made by Axel Fuhrmann. Requirements PHP >= 8.0 JSON extension (enabled by default since PHP 8.0) Installation Install the library into your project with Composer. composer require nickbeen/rick-and-morty-php-api Usage Initiate a Character , Episode or Location model and use the available tools to list, retrieve or search within that model. The library returns a NotFoundException when using invalid arguments, retrieving nonexistent models or if the Rick and Morty API is not available. Implement a try block to handle the exception in your application i...

The code repository for earth-imagery-api on https:api.nasa.gov

Description This repository contains a flask API that provides satellite imagery. It is designed to be very simple and easy to use with minimal functionality and is provided to the public through api.nasa.gov . It focuses on one Earth imagery product, Landsat 8. Purpose While there are many ways NASA and other government agencies provide satellite imagery to the public, these are often more fully featured and as a result more complex to use. This API is built to have a very basic intuitive interface and to be found easily on api.nasa.gov . It is designed for those just getting started with satellite imagery and APIs. It can server as a first step to using more complex imagery services. History & Why Open Sourced The earth imagery API has existed as an option on api.nasa.gov for several years. Many people have built demos using it or integrated it into their applications. We don't recommend using it in production. It is shared mostly as a very easy and feature sparse start...

minecraft-api GitHub Topics GitHub

CraftLib wraps the entire Minecraft codebase as a Java / Kotlin library. Supports protocol, NBT, chat and schematics. 1.7.x - 1.8.x

An OpenAPI demo specification to integrate Qualtrics XM into Microsoft Power Platform

This repository contains sample code to demonstrate integration of Qualtrics survey data and survey events into Microsoft Power Platform. The OpenAPI 2.0 compliant SWAGGER file can be used as the base to create a Microsoft Power Platform custom connector. The OpenAPI 3.0 compliant file is there for reference use into Azure API Management (at this point of time Power Platform does not allow OA 3.0 compliant files) The sample code implements the following actions on the Qualtrics API located at https://api.qualtrics.com/ To gain access to the API a Qualtrics account is required. This sample is provided as-is as a reference and not intended to be used for production purposes Usage Navigate to https://make.powerapps.com . Expand Data > Custom Connectors > New Custom Connector > From OpenAPI file > Select the SWAGGER 2.0 compliant file Setup icon and other options Triggers When a survey response is submitted (see caution note below) Triggers when a respo...