Skip to content

JaapWestera/albert-heijn-graphql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appy

Albert Heijn Graphql Python API

API for the Albert Heijn GraphQL API

Thanks to this gist from jabbink for information about authentication. The way to get the authorization code used in the authorize function is to go to https://login.ah.nl/secure/oauth/authorize?client_id=appie&redirect_uri=appie://login-exit&response_type=code and open the browser inspector network tab. Login with you credentials and the network inspector should show a failed request. The url of this failed request contains the code you will need.

This API makes use of the Albert Heijn GraphQL API at https://api.ah.nl/graphql Using the GraphQL introspection the complete set of queries and mutations were extracted. You can check it for yourself at something like GraphQL Voiager using the introspection json.

Visualization of the whole API: ![albert_heijn_graphql](https://github.com/JaapWestera/appy-graphql/assets/2284636/5bc59fc5-f346-4645-88a7-b1f7939a08f2)

It's not ready for real use, but is used to test the queries and mutations as a proof of concept.

About

Albert Heijn Graphql Python API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages