[ANN] NYCGeoClient v0.0.1

From: Edgar G.
Sent on: Wednesday, February 26, 2014 1:27 PM
A ruby gem for the NYC GeoClient API - https://developer.cityofnewyork.us/api/geoclient-api-beta

Install and require the gem manually or through bundler.

Usage

    client = NYCGeoClient::Client.new(app_id: 'ID', app_key: 'KEY')

    # get block and property level information about an address
    client.address('13', 'crosby', 'manhattan')

    # property level information about a tax lot
    client.bbl('manhattan', '00233', '0004')

    # get property level information about a building
    client.bin('[masked]')

    # get information about a segment defined by an on street between two cross-streets
    client.blockface('34 st', 'fifth ave', 'sixth ave', 'manhattan')

    # get information about a point defined by two cross streets
    client.intersection('34 st', 'fifth ave', 'manhattan')

    # get address information using a well-known place name
    client.place('empire state building', 'manhattan')

NOTE: You will need to register an application with the NYC Developer Portal (https://developer.cityofnewyork.us/), and make sure that you check off access to the Geoclient API for the application. Take note of the Application's ID and key.

Because the gem is based on Faraday, it supports the following adapters:

* Net::HTTP (default)
* Excon
* Typhoeus
* Patron
* EventMachine


--
Edgar Gonzalez
@edgar

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy