Skip to content

Releases: xivapi/xivapi-php

Change some search methods

30 Nov 12:08
Compare
Choose a tag to compare

This changes the following search methods:

  • column to findColumn
  • algorithm to findAlgorithm

This is because of 2 reasons:

  1. column was very close to another method columns, yet these are completely unrelated.
  2. both findColumn and findAlgorithm affect the find(x) method.

Generalize query params

30 Nov 11:38
Compare
Choose a tag to compare

This change generalizes the query params so that they can be more dynamic and new ones can be used without code changes.

Eg:

$api->snakeCase()->limit(250)->content->Item()->list();

Is now:

$queries = [
    'snake_case' => true,
    'limit' => 250,
];
$api->queries($queries)->content->Item()->list();

Initial Release

29 Nov 16:07
Compare
Choose a tag to compare

Everything working, woo!