Entradas

Unnofficial Python wrapper for the unite-db.com REST API.

Introduction unite-db is a website dedicated to maintaining a database on various stats in the game Pokemon Unite including stats for Pokemon, Battle Items and Held Items. This wrapper provides a simple, Pythonic interface to those stats via a REST API, with automatic result caching. Please be warned that this is an unofficial wrapper and the REST API is a private one, so please do not abuse it. If you are publishing any of the data collected with this API, please give credit to unite-db . They spend many hours collecting this data. Installation The package is installable via pip . pip install py-unite-db Usage Import the UniteDb object: from py_unite_db import UniteDb unite_db = UniteDb () Let's get the names of all supporter Pokemon: >>> [ pokemon . name for pokemon in unite_db . pokemon if pokemon . role == "Supporter" ] [ 'Blissey' , 'Eldegoss' , 'Mr.Mime' , 'Wigglytuff' ] Contributing This project uses pdm . $

openweathermap api GitHub Topics GitHub

Turn any electrical irrigation valve into a smart-valve.. or run your pumps on a smart schedule based on your climate!  This homebridge plugin exposes a multi-zone irrigation sprinkler dummy control system to Apple's HomeKit.  Although a dummy, it brings smarts of an evapotranspiration based climate and plant adaptive irrigation controller with the use of OpenWeatherMap API.  The plugin can optionally email you, and/or send you push notifications through Pushover or Pushcut, with the watering schedule it has calculated, or when a watering run is completed, along with the next 7-day weather forecast. Added option to expose system controls to Homekit allowing a user to enable/disable irrigation, rechecks, push and email notifications from within the Home App. Associated WaterLevel Characteristic shows the % of watering cycle remaining.

Openweather Apis

Simple APIs to use with OpenWeatherMap.org free servicies, request a APPID on http://openweathermap.org/appid and start! : New Version of the package (Node.js > 16) can be found at the new package domain @cicciosgamino/openweather-apis Intro Simple abstraction layer for use the services offered by the OpenWeatherMap.org website through its API's. You can easy reach the weather informations you need on over 400k weather stations. For get the APPID follow the OpenWeather.org link and complete the request process. Version details Main changes by version (if the first number change, old code you have written is not supported, for example between version 1.x.x to version 2.x.x (I apologize for that), all minor/major/fix in: CHANGELOG.md Installation Like all node packages, install and mange operation are done by npm (use the -s if you want save the package in the package.json file) : npm install openweather - apis // install and save in package.json npm install openweathe

OpenSea NFT API Python 3 wrapper

This an API wrapper library for the OpenSea API written in Python 3. The library provides a simplified interface to fetch a diverse set of NFT data points from OpenSea. Supported endpoints The wrapper covers the following OpenSea API endpoints: Single asset (/asset) Single asset contract (/asset_contract) Single collection (/collection) Collection stats (/collection/{slug}/stats) Multiple assets] (/assets) Multiple collections (/collections) Multiple events (/events) Multiple bundles (/bundles) Prerequisite You need to have an API key to use the OpenSea API, and thus you need one to use this wrapper too. You can request a key here. NOTE: The API key can take over 4-7 days to be delivered. It also requires you to show the project you are working on. Installation Install with pip: virtualenv env && source env/bin/activate pip install opensea-api Upgrade pip install opensea-api -U Usage examples # import the OpenseaAPI object from the opensea module from op

The Open Movie Database API omdb

Python wrapper around The Open Movie Database API (a.k.a. OMDb API): http://omdbapi.com/ NOTE: This library and its author are not endorsed by or affiliated with OMDbAPI.com. Usage General Import import omdb omdb.get() # include full plot and Rotten Tomatoes data omdb . get ( title = 'True Grit' , year = 1969 , fullplot = True , tomatoes = True ) omdb.search() # search by string omdb . search ( 'True Grit' ) omdb.imdbid() # get by IMDB id omdb . imdbid ( 'tt0065126' ) omdb.title() # get by title omdb . title ( 'True Grit' ) omdb.set_default() # include tomatoes data by default omdb . set_default ( 'tomatoes' , True ) omdb . title ( 'True Grit' ) == omdb . title ( 'True Grit' , tomatoes = True )

Basic abstraction with Laravel integration for Mailchimp API v3

// Get an array of all available lists: Mailchimp :: getLists (); // Get lists with parameters - get IDs of lists a user is subscribed to: Mailchimp :: getLists ([ 'email' => ' user@example.com ' , 'fields' => ' lists.id ' ]); // Check to see if an email address is subscribed to a list: Mailchimp :: check ( $ listId , $ emailAddress ); // Returns boolean // Check the staus of a subscriber: Mailchimp :: status ( $ listId , $ emailAddress ); // Returns 'subscribed', 'unsubscribed', 'cleaned', 'pending', 'transactional' or 'not found' // Adds/updates an existing subscriber: Mailchimp :: subscribe ( $ listId , $ emailAddress , $ merge = [], $ confirm = true ); // Use $confirm = false to skip double-opt-in if you already have permission. // This method will update an existing subscriber and will not ask an existing subscriber to re-confirm. // Unsubscribe a member (set status to 'unsubscribed'): Ma

Zendesk API client library for Go

Zendesk API client library for Go package main import ( "context" " github.com/nukosuke/go-zendesk/zendesk " ) func main () { // You can set custom *http.Client here client , _ := zendesk . NewClient ( nil ) // example.zendesk.com client . SetSubdomain ( "example" ) // Authenticate with API token client . SetCredential ( zendesk . NewAPITokenCredential ( " john.doe@example.com " , "apitoken" )) // Authenticate with agent password client . SetCredential ( zendesk . NewBasicAuthCredential ( " john.doe@example.com " , "password" )) // Create resource client . CreateGroup ( context . Background (), zendesk. Group { Name : "support team" , }) }