Giter Site home page Giter Site logo

three's People

Contributors

akaihola avatar dhilton avatar fgregg avatar fletom avatar jaakko avatar juyrjola avatar philipn avatar zachwill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

three's Issues

PyPi module needs to be republished

https://pypi.org/project/three/ appears to be on 0.8.0 circa 2013

It would be awesome to get in touch with the maintainer https://pypi.org/user/zachwill/ and publish a new tag of master here, which supports python 3 (specifically the ifilter to filter update).

If anyone rolls through here trying to add this to pip dependencies, just add this to your requirements file:

git+https://github.com/codeforamerica/three.git@67b4a4b233a57aa7995d01f6b0f69c2e85aea6c0#egg=three

Check out slumber

Have you seen slumber? http://slumber.in/ It's a cool little wrapper around requests and does a lot of what you're doing here.

I don't know enough about the Open311 API to do this myself quickly, but you'd prob want to grab this pull req: samgiles/slumber#11 b/c the open311 api seems to throw a ton of stuff at the root level.

Returned request is always 1000 items

No matter what is set the count to or the page_size to for the Three.requests method the returned list is always 1000 items long.

Apologies if this is an issue on my end, but I am not quite sure.

add discovery url to cities dictionary

it seems pretty common that the discovery url is not in the same path as the endpoint. When that's true, it would be nice to be able to specify an alternate discovery url in the cities dictionary.

Requests with only a start date and no end date throw error

Example:

requests = city.requests(start='01-01-2012')
File "build/bdist.macosx-10.7-intel/egg/three/core.py", line 175, in requests
File "build/bdist.macosx-10.7-intel/egg/three/core.py", line 85, in get
File "build/bdist.macosx-10.7-intel/egg/three/core.py", line 99, in _get_keywords

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.