paulbtw / mcbrokenio

Tracks McDonalds ice machines

Home Page:https://www.mcbroken.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

McBroken Backend

The project idea is inspired by McBroken.com made by rashiq.

Built with:

Setup

  1. You need to have basic tokens from the McDonald's app to use their API.
  2. Fill out the .env.dist file and rename it to .env
  3. npm install and npm install -g serverless
  4. docker-compose up to start your local db
  5. To run a function locally use serverless invoke local --function functionName

You can also run multiple targets:

Information about the different McDonalds APIs.

eu-prod:

Country Code Mobile Ordering Mobile Ordering String
Germany DE true MOBILEORDERS
Netherlands NL false
United Kingdom UK true MOBILEORDERS

el-prod:

Country Code Mobile Ordering Mobile Ordering String
Austria AT true Mobil bestellen und bezahlen
Azerbaijan ? false
Bahrain BH false
Belarus BY false
Belgium BE false
Bosnia BA false
Bulgaria BG false
Croatia HR false
Cyprus CY true Mobile order and pay
Czech CZ false
Denmark DK true Mobil bestilling og betaling
Egypt EG false
El Salvador SV false
Estonia EE true Mobile order and pay
Finland FI true Mobiilitilaus ja maksu
France ? false
Georgia GE false
Greece GR false
Guatemala GT false
Honduras HN false
Hungary HU false
Indonesia ID false
Ireland IE false
Italy IT true Ordina e paga dal cellulare
Jordan JO false
Kazakhstan KZ false
Kuwait KW false
Latvia LV false
Libanon LB false
Lithuania LT false
Malaysia MY true Mobile order and pay
Malta MT false
Mauritius MU false
Morocco MA false
New Zealand NZ false
Nicaragua NI false
Norway NO true Mobil bestilling og betaling
Pakistan PK false
Paraguay PY false
Poland PL true Zamów i odbierz
Portugal PT true Pedidos Mobile
Reunion RE false
Romania RO false
Serbia RS false
Singapore SG true Mobile order and pay
Slovenia SI false
South Africa SAR false
South Korea KR false
Spain ES true Pedido móvil para recoger en restaurante
Sweden SE true Mobil beställning och betalning
Swiss CH true Mobil bestellen und bezahlen
Thailand TH false
United Arab Emirates AE true Mobile order and pay
Ukraine UA false
Vietnam VN false

us-prod:

only works with US IP

Country Code Mobile Ordering Mobile Ordering String
Canada CA true MOBILEORDERS
United States US true MOBILEORDERS

ap-prod:

Country Code Mobile Ordering Mobile Ordering String
Australia AU true MOBILEORDERS

ap

Country Code Mobile Ordering Mobile Ordering String
Hong Kong HK true MOBILEORDERS

About

Tracks McDonalds ice machines

https://www.mcbroken.io/


Languages

Language:TypeScript 98.1%Language:JavaScript 1.5%Language:Shell 0.3%Language:CSS 0.1%