Giter Club home page Giter Club logo

pyccuweather's Introduction

pyccuweather Coverage Status Build Status

The Python wrapper to Accuweather services

Install

Install via pip:

pip install pyccuweather

Usage

Authentication

When you create a Connection object, Pyccuweather will look for an Accuweather API key in a particular sequence. First, it will look for an explicitly provided API key. If none is provided, it will look for anenvironment variable called ACCUWEATHER_APIKEY.

Env authentication

You can set your system up for authentication by saving the API key in your system's environment variables. Open a terminal and enter

export ACCUWEATHER_APIKEY=<your API key>

substituting the example string with your actual API key. Pyccuweather will use this API key if it is not provided with an explicit API key.

Explicit authentication

When creating a Connection object, you can provide an API key:

from pyccuweather.connector import Connection
conn = Connection(API_KEY="<your API key>")

This will be used preferentially to the environment key.

Location resolution

[To be written]

Querying

[To be written]

Roadmap

[To be written]

License

Pyccuweather is licenced under the MIT License.

Credits

Pyccuweather was developed by Chris von Csefalvay at RB plc with the generous support of Accuweather.

pyccuweather's People

Contributors

chrisvoncsefalvay avatar stephenoneal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pyccuweather's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.