Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | dbfp: fix error handling in dbfp_query_location_name | Robin Krahl | 2016-03-09 |
| | | | | | | The old code returned a successful status, but does not set the result values if there are no results. This patch changes the error handling so that the results are always set if no error occured. | ||
* | man: dbfp.3: fix typo in the example | Robin Krahl | 2016-03-09 |
| | |||
* | man: dbfp.3: add man page for dbfp, dbfp_init, dbfp_close | Robin Krahl | 2016-03-08 |
| | |||
* | add rudimentary location support | Robin Krahl | 2016-03-08 |
| | | | | | | | | | | | The function dbfp_query_location_name performs the location.name query and returns a list of all stations that match the search term. The implementation has two flaws: there is no URL encoding, and malformatted query results will not lead to a meaningful error message. There are two new test cases: basic tests some basic functionality, as setting the API key and accessing the API. location adds a simple test for the location.name query. | ||
* | initial commit | Robin Krahl | 2016-02-26 |