Skip to content

Releases: cityofaustin/knackpy

v1.0.10

18 Aug 00:21
f56d922
Compare
Choose a tag to compare
  • Actually handle subfields when writing to CSV
  • Add support for record_limit and filters when writing to CSV
  • Add missing App class public methods to docs

v1.0.9

21 Jul 14:58
Compare
Choose a tag to compare

This is first production release of Knackpy v1.0! This is a complete overhaul of knackpy. Read the complete documentation here.

Notable new features:

  • file uploading
  • ability to fetch data by object or view name
  • smarter record formatting with support for all Knack field types
  • ability to provide a custom API subdomain (e.g, for HIPAA apps)

v0.1.0

05 Jan 22:09
5d06e08
Compare
Choose a tag to compare
  • Much better docs
  • Fixed support for image file downloads
  • Support for street2 address subfield [#28]
  • Increase default page limit from 10 to 1000
  • Bumping to v0.1.0 for those using the default page limit of 10

Support for File Downloads

05 Jan 04:00
7ff1926
Compare
Choose a tag to compare
  • add support for file downloads [#23]
  • remove arrow dependency [#20]
  • write timestamps in isoformat when writing to csv
  • update docs to reflect Python 3 requirement

App Data Method

18 Feb 23:02
Compare
Choose a tag to compare
App Data Method Pre-release
Pre-release

Get_app_data(app_id) well fetch the application's configuration data (objects, scenes, etc).

New Record Method

18 Feb 22:41
dcf0df4
Compare
Choose a tag to compare
New Record Method Pre-release
Pre-release

Redesign record create and update and add support for record delete via new record() method, which accepts a record payload, app parameters, and a method argument (create, update, delete).

Default ID Key Param on Update Record

04 Nov 14:39
a79f9a7
Compare
Choose a tag to compare
Pre-release

Removes the required id_key parameter from the update_record method and instead defaults it to 'id'.

Add Support for Resending Requests on Timeout

01 Nov 22:25
0c94099
Compare
Choose a tag to compare

This commit adds a max_attempts parameter to Knackpy methods which get or post data to the Knack API.

By default, Knackpy will resend a request 5 times before giving up. The parameter (along with the timeout duration) can also be set manually.

v0.0.3

09 Sep 20:21
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

When a multi-choice knack field is empty, it results in the field value stored as an empty array. The empty arrays were causing problems for some of my downstream processes, and I don't see a reason to keep them, so the parse_data method now converts those empty arrays to empty strings.

v0.0.2

07 Sep 18:57
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release

This patch fixes an error that crops up in windows when arrow tries to "get" negative timestamps. I.e., it fails. The work around is to "get" a timestamp at 0 seconds, then pass the negative timestamp to the shift method.