{"library":"py-clob-client-v2","title":"Polymarket CLOBClient V2","description":"Python client for interacting with the Polymarket CLOB (Central Limit Order Book) V2 API. Version 1.0.0 is the latest stable release, with a release candidate 1.0.1rc1 available. Requires Python >=3.9.10. Maintained actively on GitHub.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install py-clob-client-v2"],"cli":null},"imports":["from py_clob_client.client import ClobClient","from py_clob_client.client import Credentials"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom py_clob_client.client import ClobClient\nfrom py_clob_client.clob_types import Credentials\n\nhost = \"https://clob.polymarket.com\"\nkey = os.environ.get('PRIVATE_KEY', '')\ncreds = Credentials(private_key=key, chain_id=137)\nclient = ClobClient(host=host, credentials=creds)\nprint(client.get_heartbeat())","lang":"python","description":"Initialize a ClobClient with private key from environment variable and test connectivity.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}