Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Access Polymarket endpoints via the `polymarket` namespace.

==== Markets

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-markets)
https://docs.domeapi.io/api-reference/endpoint/get-markets[API Reference]

List markets with optional filtering:

Expand All @@ -69,7 +69,7 @@ price = client.polymarket.markets.price(token_id: 'token_id')

==== Candlesticks

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-candlesticks)
https://docs.domeapi.io/api-reference/endpoint/get-candlesticks[API Reference]

Get candlesticks:

Expand All @@ -85,7 +85,7 @@ candlesticks = client.polymarket.candlesticks.list(

==== Trade History

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-trade-history)
https://docs.domeapi.io/api-reference/endpoint/get-trade-history[API Reference]

Get trade history:

Expand All @@ -99,7 +99,7 @@ trades = client.polymarket.trade_history.list(

==== Orderbook

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-orderbook-history)
https://docs.domeapi.io/api-reference/endpoint/get-orderbook-history[API Reference]

Get orderbook history:

Expand All @@ -114,7 +114,7 @@ snapshots = client.polymarket.orderbook.list(

==== Activity

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-activity)
https://docs.domeapi.io/api-reference/endpoint/get-activity[API Reference]

Get activity:

Expand All @@ -128,7 +128,7 @@ activity = client.polymarket.activity.list(

==== Market Price

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-market-price)
https://docs.domeapi.io/api-reference/endpoint/get-market-price[API Reference]

Get market price history:

Expand All @@ -142,7 +142,7 @@ prices = client.polymarket.market_price.list(

==== Wallet

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-wallet)
https://docs.domeapi.io/api-reference/endpoint/get-wallet[API Reference]

Get wallet information:

Expand All @@ -155,7 +155,7 @@ wallet = client.polymarket.wallet.list(

==== Wallet Profit and Loss

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-wallet-pnl)
https://docs.domeapi.io/api-reference/endpoint/get-wallet-pnl[API Reference]

Get wallet profit and loss:

Expand All @@ -173,7 +173,7 @@ Access Matching Markets endpoints via the `matching_markets` namespace.

==== Sports

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-matching-markets-sports)
https://docs.domeapi.io/api-reference/endpoint/get-matching-markets-sports[API Reference]

List matching markets for a specific sport and date:

Expand All @@ -189,7 +189,7 @@ markets = client.matching_markets.sports_by_date(sport: 'nfl', date: Date.today)

==== Markets

[API Reference](https://docs.domeapi.io/api-reference/endpoint/get-matching-markets)
https://docs.domeapi.io/api-reference/endpoint/get-matching-markets[API Reference]

List matching markets by slug or ticker:

Expand Down
Loading