Skip to content

Instantly share code, notes, and snippets.

View MathewDominic's full-sized avatar
🏠
Working from home

Mathew Dominic Puthoor MathewDominic

🏠
Working from home
View GitHub Profile
@MathewDominic
MathewDominic / gist:f24e6ca0fa6a7d68a0d9a04942446c21
Created September 19, 2024 05:27
Script to check for available gametime slots in playo app
# script to check for available gametime slots in playo app
import requests
import json
from datetime import datetime, timedelta
url = "https://api.playo.io/activity/playogames/list"
days_from_today = 0
// This script returns the bonus points one is supposed to get for vouchers bought from Axis Gyftr
// Run this script from console after logging in to https://www.gyftr.com/edgerewards
async function postData(url = '', data = {}) {
const response = await fetch("https://api.gyftr.com/axis-bank/api/order/getAllOrders/", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,ml;q=0.8",
"content-type": "application/json",
"sec-ch-ua": "\"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"108\", \"Google Chrome\";v=\"108\"",
"sec-ch-ua-mobile": "?0",