René's URL Explorer Experiment


Title: GitHub · Where software is built

Open Graph Title: lockwooddev/python-wowapi

X Title: lockwooddev/python-wowapi

Description: A client library for interacting with the World of Warcraft Community, Game Data and Profile API's - lockwooddev/python-wowapi

Open Graph Description: A client library for interacting with the World of Warcraft Community, Game Data and Profile API's - lockwooddev/python-wowapi

X Description: A client library for interacting with the World of Warcraft Community, Game Data and Profile API's - lockwooddev/python-wowapi

Opengraph URL: https://github.com/lockwooddev/python-wowapi

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug in the `_get_client_credentials` function when getting other-region data.","articleBody":"Hi, I've noticed a small bug.\r\n\r\n**api.py: _get_client_credentials(self, region):**\r\n\r\n```python\r\n    def _get_client_credentials(self, region):\r\n        path = '/oauth/token'\r\n        data = {'grant_type': 'client_credentials'}\r\n        auth = HTTPBasicAuth(self._client_id, self._client_secret)\r\n\r\n        #url = 'https://{0}.battle.net{1}'.format(region, path)\r\n        url = 'https://eu.battle.net{1}'.format(region, path)\r\n```\r\n\r\nAs you can see, I intentionally commented out the \"region.battle.net\" code and replaced it with \"eu.battle.net\". Why?\r\n\r\nBecause:\r\n\r\n```python\r\n# Code:\r\ndata = api.get_spell(\"tw\", namespace=\"static-tw\", id=195072, locale='zh_TW')\r\n# Result:\r\n# 2021-07-05 15:24:50,980 - wowapi - WARNING - Invalid response - 401 for https://tw.battle.net/oauth/token\r\n```\r\n\r\nCode 401 means \"Unauthorized\". I am not authorized to login to tw.battle.net.\r\n\r\nChanging it to login to your own account's region and THEN querying the other regions is the correct way to use the API. And yes, to query data from another region you do need to provide a region to the wowapi.get_spell() etc APIs.\r\n\r\nSo the oauth login must be your region. The query must be the target region.\r\n\r\nFurthermore, their documentation pages say that the data is segmented into region locks. Non-Chinese accounts can query all regions except China. Chinese accounts can only query Chinese regions (zh_CN):\r\n\r\n- Described here: https://develop.battle.net/documentation/guides/regionality-and-apis\r\n- List of locales etc: https://develop.battle.net/documentation/world-of-warcraft/guides/localization","author":{"url":"https://github.com/Arcitec","@type":"Person","name":"Arcitec"},"datePublished":"2021-07-05T13:31:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/26/python-wowapi/issues/26"}

route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:16187e22-bce1-2949-3f8e-f587870fbae8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F04:9D4B7:197089:215DE4:698FBA8C
html-safe-nonceae175e6b6d5fa5cfff26f683d51cd337b975df282c07540103a32b270946eec7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjA0OjlENEI3OjE5NzA4OToyMTVERTQ6Njk4RkJBOEMiLCJ2aXNpdG9yX2lkIjoiMzI4NTE0MzY3OTU4MTI3MjcxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac02c81d3d5d32915a286cea9e98ab5a3828431c99646829e48381ec3b4b650bf3
hovercard-subject-tagrepository:10436770
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lockwooddev/python-wowapi/issues/26
twitter:imagehttps://opengraph.githubassets.com/7bc7e2368afe08809684b920e7e2b2a507c77590430a57c67d3a8ff2510302ed/lockwooddev/python-wowapi
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7bc7e2368afe08809684b920e7e2b2a507c77590430a57c67d3a8ff2510302ed/lockwooddev/python-wowapi
og:image:altA client library for interacting with the World of Warcraft Community, Game Data and Profile API's - lockwooddev/python-wowapi
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/lockwooddev/python-wowapi git https://github.com/lockwooddev/python-wowapi.git
octolytics-dimension-user_id867686
octolytics-dimension-user_loginlockwooddev
octolytics-dimension-repository_id10436770
octolytics-dimension-repository_nwolockwooddev/python-wowapi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10436770
octolytics-dimension-repository_network_root_nwolockwooddev/python-wowapi
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4084c47bba08e7ba5fab63cb1dd485a339910ed7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues/26#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flockwooddev%2Fpython-wowapi%2Fissues%2F26
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%2Flockwooddev%2Fpython-wowapi%2Fissues%2F26
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%2Fissues%2Fshow&source=header-repo&source_repo=lockwooddev%2Fpython-wowapi
Reloadhttps://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues/26
Reloadhttps://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues/26
Reloadhttps://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues/26
lockwooddev https://patch-diff.githubusercontent.com/lockwooddev
python-wowapihttps://patch-diff.githubusercontent.com/lockwooddev/python-wowapi
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flockwooddev%2Fpython-wowapi
Fork 22 https://patch-diff.githubusercontent.com/login?return_to=%2Flockwooddev%2Fpython-wowapi
Star 50 https://patch-diff.githubusercontent.com/login?return_to=%2Flockwooddev%2Fpython-wowapi
Code https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi
Issues 3 https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues
Pull requests 1 https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/pulls
Discussions https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/discussions
Actions https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/actions
Projects 0 https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/projects
Wiki https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/wiki
Security 0 https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/security
Insights https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/pulse
Code https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi
Issues https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues
Pull requests https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/pulls
Discussions https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/discussions
Actions https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/actions
Projects https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/projects
Wiki https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/wiki
Security https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/security
Insights https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/lockwooddev/python-wowapi/issues/26
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/lockwooddev/python-wowapi/issues/26
Bug in the _get_client_credentials function when getting other-region data.https://patch-diff.githubusercontent.com/lockwooddev/python-wowapi/issues/26#top
https://github.com/Arcitec
https://github.com/Arcitec
Arcitechttps://github.com/Arcitec
on Jul 5, 2021https://github.com/lockwooddev/python-wowapi/issues/26#issue-937097540
https://develop.battle.net/documentation/guides/regionality-and-apishttps://develop.battle.net/documentation/guides/regionality-and-apis
https://develop.battle.net/documentation/world-of-warcraft/guides/localizationhttps://develop.battle.net/documentation/world-of-warcraft/guides/localization
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.