Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Releases: FirstStreet/fsf_api_access_python

CSV formatting bugfix for Location Detail Property

12 Nov 18:29
a6023aa

Choose a tag to compare

Version 2.2.1. (Nov 12, 2020) CSV formatting bugfix for Location Detail Property

Bugfix:

  • CSV formatting for the Location Detail Property product now produces the correct value for elevation

Version 2.2.0. Update the consistency of the parameters with the wiki pages and methods. Minor bugfix

05 Nov 19:56

Choose a tag to compare

Version 2.2.0. (Nov 05, 2020) Update the consistency of the parameters with the wiki pages and methods. Minor bugfix

Update Features:

  • All products now use the search_items parameter for the primary input of FSIDs, addresses, lat/lng pairs, coordinates, and file names
  • The command line now uses -s instead of -i for search_items.
  • The Tiles product through the Python script now uses -s for coordinates instead of the coordinate parameter

Documentation:

  • Migrate the README to the Github Wiki. This should improve readability
  • Add examples for each product and each location type
  • Add pages for Location Types, Geometry, CSV Files, and Image Files
  • Add tables representing the returned objects for each product
  • Add a changelog page

Bugfix:

  • CSV formatting for the Location Detail County product now produces the correct name column for the county

Version 2.1.2: Bugfix for Returned Items

03 Nov 16:57
1533367

Choose a tag to compare

Version 2.1.2:

Bugfix for returned items not returning in the same order of input. This bug was re-introduced from 2.1.1.

Input: [540225, 540226, 540227, 540228]

Output: [Object for 540225, Object for 540226, Object for 540227, Object for 540228]

ie: The order of search_items for the input are the same as the output order of the Objects

Version 2.1.1: Add a Coroutine Limiter

21 Oct 18:04

Choose a tag to compare

Version 2.1.1:

  • Add a Coroutine Limiter. This should prevent Timeout Errors due to the loop for large batches of data pulls. This should also improve the speed when the batch is large. The default is 100 coroutines.

Ex: fs = firststreet.FirstStreet(api_key, connection_limit=500)
Ex: fs = firststreet.FirstStreet(api_key, connection_limit=1000)

Version 2.1.0: CSV Conversion Speedup and Explicit Throttle Parameters

01 Oct 17:12
7787579

Choose a tag to compare

Version 2.1.0:

  • Update the CSV conversion speed

    • Ex: 20000 FSIDs for the probability depth product now take about 68 seconds instead of 1310 seconds
  • Add explicit throttle parameters to the API initialization

    • Ex: fs = firststreet.FirstStreet(api_key, log=True, rate_limit=1, rate_period=1) now runs 1 request per second
    • Ex: fs = firststreet.FirstStreet(api_key, log=True, rate_limit=20000, rate_period=3600) runs 20000 request per hour

Version 2.0.1: Bugfixes

13 Aug 19:42

Choose a tag to compare

Bugfixes:

  • Include certificate in request calls
  • Fix Keyword Error when creating CSV using lat/lng or address
  • Update output folder from data_csv to output_data (since tiles are also downloaded to the directory, and aren't CSVs)
  • Minor text update to README

Version 2: Tiles Product, Valid ID, and bugfixes

05 Aug 15:26
c3fa413

Choose a tag to compare

Note: In this and following releases, Python 3.6 will no longer be supported due to changes in the asynchronous call.

New Functionality:

  • Added Tiles Product: Tile product for Probability Depth and Historic Event is now available
  • Valid ID Field: Add a new column called valid_id that shows up if any input cannot be matched with a property

Bug Fixes:

  • Error Handle Fix (Error 500): Error 500 should no longer cause the process to crash
  • Output Order: Output from client and CSV from a product call is now ordered by the input
  • Renamed Limit to Connection Limit: In the README and on the product calls, Limit is now called Connection Limit to remove the confusion of call limits
  • File Header Fix: Files with headers should no longer error out
  • Historic Location-Summary CSV Fix: Calling Historic Location-Summary with CSV should no longer crash

Merge Geometry Functionality from Develop

15 Jul 20:46

Choose a tag to compare

  • Add geometry functionality. Geometry of adaptations, historic, and locations can now be seen in both the CSV and objects

v1.2.0: Merge pull request #7 from FirstStreet/develop

08 Jul 18:11
c39b49a

Choose a tag to compare

  • Add lat/lng functionality
  • Add address functionality
  • Addresses issue #5 and shortening Python Installation instructions
  • Update README with new functionality
  • Add Jupyter Notebook extra step to README

API Endpoint Bugfix

30 Jun 18:18
b04638c

Choose a tag to compare

  • Fix the endpoint for the API not pointing at the correct endpoint