Skip to content

Commit

Permalink
Fully support all accounts and betting endpoints via both RPC and RES…
Browse files Browse the repository at this point in the history
…T, alongside a complete overhaul of the folder structure for readability, enums also added for clarity
  • Loading branch information
000xE committed Jan 25, 2025
1 parent ea09460 commit 930e262
Show file tree
Hide file tree
Showing 41 changed files with 1,850 additions and 532 deletions.
1 change: 1 addition & 0 deletions client/common/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (client *JsonClient) Do(req *http.Request) (*http.Response, error) {
req.Header.Add("X-Authentication", client.SessionToken)
req.Header.Add("X-Application", client.ApplicationKey)
req.Header.Add("Accept", "application/json")
req.Header.Add("content-type", "application/json")

return client.Client.Do(req)
}
Expand Down
227 changes: 0 additions & 227 deletions client/rpc/betting.go

This file was deleted.

121 changes: 0 additions & 121 deletions client/rpc/client.go

This file was deleted.

20 changes: 0 additions & 20 deletions client/rpc/tests/accounts_test.go

This file was deleted.

Loading

0 comments on commit 930e262

Please sign in to comment.