Title: Feature: alternate subcat support by sreyassabbani · Pull Request #14 · qbreader/python-module · GitHub
Open Graph Title: Feature: alternate subcat support by sreyassabbani · Pull Request #14 · qbreader/python-module
X Title: Feature: alternate subcat support by sreyassabbani · Pull Request #14 · qbreader/python-module
Description: See #8 This should work now, for both tossups & bonuses on both Sync and Async clients. Example: c = Sync() print(c.random_tossup(alternate_subcategories=["Poetry"])[0]) This will send a GET request to the QB Reader API endpoint, automatically adding subcategories=Other Literature on to the querystring. And for the async example: a = Async() async def t(): a = await Async.create() print( (await a.random_tossup(alternate_subcategories=["Math"]))[0] ) print( (await a.random_bonus(alternate_subcategories=["Computer Science"]))[0] ) await a.close() print(asyncio.run(t()))
Open Graph Description: See #8 This should work now, for both tossups & bonuses on both Sync and Async clients. Example: c = Sync() print(c.random_tossup(alternate_subcategories=["Poetry"])[0]) This will se...
X Description: See #8 This should work now, for both tossups & bonuses on both Sync and Async clients. Example: c = Sync() print(c.random_tossup(alternate_subcategories=["Poetry"])[0]) ...
Opengraph URL: https://github.com/qbreader/python-module/pull/14
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:42617c24-3206-b5b8-93a7-437ea867cb29 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D86C:194D2F:7EDD93:A4C966:698E81BC |
| html-safe-nonce | fa52a2303b061d95c6eb34dbd0750e2b0d81363a7b425008fe94837393c0c23a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODZDOjE5NEQyRjo3RUREOTM6QTRDOTY2OjY5OEU4MUJDIiwidmlzaXRvcl9pZCI6IjUyNTIyOTgwOTE5NTY5NjE3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 09d4f976fbfde53109b3e3d23c02feb5d8335a7fb7a17c64e46930d5059610aa |
| hovercard-subject-tag | pull_request:2284595374 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/qbreader/python-module/pull/14/checks |
| twitter:image | https://avatars.githubusercontent.com/u/172126904?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/172126904?s=400&v=4 |
| og:image:alt | See #8 This should work now, for both tossups & bonuses on both Sync and Async clients. Example: c = Sync() print(c.random_tossup(alternate_subcategories=["Poetry"])[0]) This will se... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-cache |
| go-import | github.com/qbreader/python-module git https://github.com/qbreader/python-module.git |
| octolytics-dimension-user_id | 112534302 |
| octolytics-dimension-user_login | qbreader |
| octolytics-dimension-repository_id | 582678039 |
| octolytics-dimension-repository_nwo | qbreader/python-module |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 582678039 |
| octolytics-dimension-repository_network_root_nwo | qbreader/python-module |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7a12861f7011eecb14bcc4388a767d829a52dfc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width