Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

providers #6

Open
3052 opened this issue Mar 25, 2024 · 5 comments
Open

providers #6

3052 opened this issue Mar 25, 2024 · 5 comments

Comments

@3052
Copy link

3052 commented Mar 25, 2024

is it possible to list providers home page and justwatch page?

@Electronic-Mango
Copy link
Owner

I'm not sure how to do this though GraphQL unfortunately. Providers on the main page doesn't seem to be accessed through GraphQL, browser doesn't seem to be making any GraphQL requests which might contain that information.

If you know how to access that data in the graph let me know.

@lesderid
Copy link

I use the old REST API for this: "https://apis.justwatch.com/content/providers/locale/xx_" + country (country being the ISO 3166-1 alpha-2 code in uppercase).

@3052
Copy link
Author

3052 commented Apr 17, 2024

that does not provide either data point. it doesnt provide the JustWatch page or the providers home page:

{
    "id": 8,
    "technical_name": "netflix",
    "short_name": "nfx",
    "clear_name": "Netflix",
    "display_priority": 0,
    "priority": 0,
    "monetization_types": [
      "flatrate"
    ],
    "icon_url": "/icon/207360008/{profile}",
    "icon_blur_hash": "KVBJXFjt1^jto1a|A;a|,Z",
    "slug": "netflix",
    "data": {
      "deeplink_data": [],
      "packages": {
        "android_tv": "enabled",
        "fire_tv": "enabled",
        "tvos": "enabled",
        "tizenos": "enabled",
        "webos": "enabled",
        "xbox": "enabled"
      },
      "has_titles": null,
      "has_sport": null
    },
    "addon_packages": null,
    "parent_packages": null
  }

https://apis.justwatch.com/content/providers/locale/en_US

@lesderid
Copy link

that does not provide either data point. it doesnt provide the JustWatch page or the providers home page:

It does provide the former: use slug: "https://www.justwatch.com/" + country + "/provider/" + slug.

@3052
Copy link
Author

3052 commented Apr 17, 2024

OK, but one is pointless without the other. the whole point is I want to connect the two data points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants