Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Implement owners.betById #183

Merged
merged 3 commits into from
Aug 20, 2019
Merged

Conversation

antoine-pous
Copy link
Contributor

@antoine-pous antoine-pous commented Jul 31, 2019

Why:

  • Add a feature supported by HS API
  • Add types
  • Move tests from nock to HS demo API for consistency

Note:
RemoteType and OwnerType are not really explained in the API doculmentation, then i don't really know which presets exists. If you've them i can easily improve types.

I've moved from nock to HS demo API for one reason, for a project like this one, which wrap an API which is maintained by other devs you can't trust at 100% your work. To avoid mistypings due to undocumented changes the best way is dealing with the API. The test duration is not a big issue and adding a daily test job let you know when the package is no anymore compliant with the current API version.

Maybe am i wrong, but i don't think.

Related issues: #181 and #182

@antoine-pous
Copy link
Contributor Author

Some other tests than mine failed :/

@antoine-pous
Copy link
Contributor Author

@pcothenet can you review this PR please?

@FalconPilot
Copy link

+1

@pcothenet pcothenet merged commit d01f744 into MadKudu:master Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants