René's URL Explorer Experiment


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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:64795f0c-9c91-7ce5-f71b-4530ca526b4a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD050:13D15D:99349:C3007:698E99FB
html-safe-nonce3a3876f39fb1288b3a7e862fb695194f28ad442a9235c05bde20aeade6c4d250
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUwOjEzRDE1RDo5OTM0OTpDMzAwNzo2OThFOTlGQiIsInZpc2l0b3JfaWQiOiI0NDc3MjM4NjQ0NTkxOTkxMjkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9d33697907ff890d0c0d92beddbf2e5516a2d7d3d8d4186c10af8dc96a1629f5
hovercard-subject-tagpull_request:2284595374
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/qbreader/python-module/pull/14/files
twitter:imagehttps://avatars.githubusercontent.com/u/172126904?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/172126904?s=400&v=4
og:image:altSee #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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/qbreader/python-module git https://github.com/qbreader/python-module.git
octolytics-dimension-user_id112534302
octolytics-dimension-user_loginqbreader
octolytics-dimension-repository_id582678039
octolytics-dimension-repository_nwoqbreader/python-module
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id582678039
octolytics-dimension-repository_network_root_nwoqbreader/python-module
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fqbreader%2Fpython-module%2Fpull%2F14%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fqbreader%2Fpython-module%2Fpull%2F14%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=qbreader%2Fpython-module
Reloadhttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Reloadhttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Reloadhttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
qbreader https://patch-diff.githubusercontent.com/qbreader
python-modulehttps://patch-diff.githubusercontent.com/qbreader/python-module
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module
Fork 6 https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module
Star 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module
Code https://patch-diff.githubusercontent.com/qbreader/python-module
Issues 2 https://patch-diff.githubusercontent.com/qbreader/python-module/issues
Pull requests 1 https://patch-diff.githubusercontent.com/qbreader/python-module/pulls
Actions https://patch-diff.githubusercontent.com/qbreader/python-module/actions
Projects 0 https://patch-diff.githubusercontent.com/qbreader/python-module/projects
Security 0 https://patch-diff.githubusercontent.com/qbreader/python-module/security
Insights https://patch-diff.githubusercontent.com/qbreader/python-module/pulse
Code https://patch-diff.githubusercontent.com/qbreader/python-module
Issues https://patch-diff.githubusercontent.com/qbreader/python-module/issues
Pull requests https://patch-diff.githubusercontent.com/qbreader/python-module/pulls
Actions https://patch-diff.githubusercontent.com/qbreader/python-module/actions
Projects https://patch-diff.githubusercontent.com/qbreader/python-module/projects
Security https://patch-diff.githubusercontent.com/qbreader/python-module/security
Insights https://patch-diff.githubusercontent.com/qbreader/python-module/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fqbreader%2Fpython-module%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fqbreader%2Fpython-module%2Fissues%2Fnew%2Fchoose
geoffrey-wuhttps://patch-diff.githubusercontent.com/geoffrey-wu
qbreader:mainhttps://patch-diff.githubusercontent.com/qbreader/python-module/tree/main
sreyassabbani:feat/8-alt-subcat-supporthttps://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/tree/feat/8-alt-subcat-support
Conversation 2 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14
Commits 9 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits
Checks 7 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/checks
Files changed https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Please reload this pagehttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Feature: alternate subcat support https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#top
Show all changes 9 commits https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
f74483d feat-wip(alt-subcat-support)!: add functionality for random-tossup sreyassabbani Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/f74483d6b704663557505e265247dae65ecd3927
bfd2240 feat(alt-subcat-support): works for bonuses, tossups, through both `S… sreyassabbani Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/bfd2240bff4544a9a3dd92ae7f07040f490bc051
ec5ae7c fix(oopsies): forgot to unstage things sreyassabbani Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/ec5ae7cb34ecb7c1c2782143fcfaec26913a3c2b
a0c9f8d fix(minor): use regular indexing instead of `.get()` sreyassabbani Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/a0c9f8d1d43f826a6b0116e264a1b8e838dda094
5dd4f1a fix(minor): remove None variant in `AlternateSubcategory` sreyassabbani Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/5dd4f1a1b772e70dd60d343cd727d31824bc8c79
89a0e1a fix logic for alternate subcategory geoffrey-wu Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/89a0e1a17087a610e770804d3033cc88c4a739fd
c0c1970 fix missing social science logic geoffrey-wu Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/c0c19707fd90a05ae657865365e7543cc5114c5d
8c7886b add beliefs and practices geoffrey-wu Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/8c7886bb1a9a912f9461806151fd03a09df9557a
d66038f run linter geoffrey-wu Jan 17, 2025 https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/commits/d66038f777e596928392176f9d59624760a63c26
Clear filters https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Please reload this pagehttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Please reload this pagehttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
_api_utils.py https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
asynchronous.py https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
synchronous.py https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-7dfbb3190453ad703192a195a1e5afe0c8444697c96c2a8fe344389caa85085e
types.py https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-158446a5a6211ba8b4273f1daaca9e8c8b4fdd5660bd92c942052689332d9a30
qbreader/_api_utils.pyhttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
View file https://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/blob/d66038f777e596928392176f9d59624760a63c26/qbreader/_api_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-c6507774841c9e6f1feea9dd833607ac4491d2a7209e0b829440f8964e4bc90d
qbreader/asynchronous.pyhttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
View file https://patch-diff.githubusercontent.com/sreyassabbani/qbreader-python-module/blob/d66038f777e596928392176f9d59624760a63c26/qbreader/asynchronous.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
https://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files#diff-191f644bd72952e373bbb7a2c9fb805fe77c935da6490ffd06d1cd9f05ef7888
Please reload this pagehttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
Please reload this pagehttps://patch-diff.githubusercontent.com/qbreader/python-module/pull/14/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.