{"id":20434985,"url":"https://github.com/peter-oroszvari/tastytrade-api","last_synced_at":"2025-04-12T21:12:30.383Z","repository":{"id":153070992,"uuid":"628034623","full_name":"peter-oroszvari/tastytrade-api","owner":"peter-oroszvari","description":"Python SDK for Tastytrade API","archived":false,"fork":false,"pushed_at":"2023-08-04T22:29:59.000Z","size":60,"stargazers_count":42,"open_issues_count":6,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-12T21:12:22.826Z","etag":null,"topics":["python","sdk-python","tastytrade","tastyworks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peter-oroszvari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-14T18:53:39.000Z","updated_at":"2025-04-08T00:32:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfc045c3-01c9-4187-b825-b1ff854f031c","html_url":"https://github.com/peter-oroszvari/tastytrade-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-oroszvari%2Ftastytrade-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-oroszvari%2Ftastytrade-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-oroszvari%2Ftastytrade-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-oroszvari%2Ftastytrade-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-oroszvari","download_url":"https://codeload.github.com/peter-oroszvari/tastytrade-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631681,"owners_count":21136562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","sdk-python","tastytrade","tastyworks"],"created_at":"2024-11-15T08:29:53.940Z","updated_at":"2025-04-12T21:12:30.378Z","avatar_url":"https://github.com/peter-oroszvari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tastytrade API Python SDK\n\n_The Tastytrade API, which my Python module relies on, is currently in beta._\n\nA Python client for the Tastytrade API, providing convenient access to Tastytrade's REST API for trading, account management, and more.\n\n## Installation\n\nInstall the package using pip:\n\n```bash\npip install tastytrade-api\n```\n\n## USAGE\n\nHere's an example of how to use the Tastytrade API client:\n```python\nfrom tastytrade_api.authentication import TastytradeAuth\n\nusername = \"your_username\"\npassword = \"your_password\"\n\n# Initialize the authentication object\nauth = TastytradeAuth(username, password)\n\n# Log in to the API\nauth_data = auth.login()\n\nif auth_data:\n    print(\"Successfully logged in!\")\nelse:\n    print(\"Failed to log in.\")\n\n# Validate the session\nis_valid = auth.validate_session()\n\nif is_valid:\n    print(\"Session is valid.\")\nelse:\n    print(\"Session is invalid or expired.\")\n\n# Destroy the session (log out)\nif auth.destroy_session():\n    print(\"Successfully logged out.\")\nelse:\n    print(\"Failed to log out.\")\n```\n\n## Development\n\nTo run tests, first install the required development packages:\n\n```bash\npip install -r requirements-dev.txt\n```\n\nThen, execute the tests using unittest:\n\n```bash\npython -m unittest discover\n```\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-oroszvari%2Ftastytrade-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-oroszvari%2Ftastytrade-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-oroszvari%2Ftastytrade-api/lists"}