Skip to content

Instantly share code, notes, and snippets.

View soncojmk's full-sized avatar

Joseph Kitonga soncojmk

View GitHub Profile
@soncojmk
soncojmk / gist:7a4d2882ef486327ff6b0665a04bf171
Last active September 25, 2017 21:15
ethereum-rinkeby-address
0xd65e07600ae9ee2D8ca43220332C59f0b92aE01e
@soncojmk
soncojmk / skyscanner-point-of-sale-hack.py
Last active February 4, 2021 00:03
Skyscanner point of sale hack to get the cheapest prices by changing the country of sale until the cheapest routes are determined instead of using a VPN. Sometimes saves up to $1,000
'''You first have to install the skyscanner python sdk by 'pip install skyscanner' '''
'''You also have to get an api key from skyscanner before using this'''
from skyscanner.skyscanner import FlightsCache
from urllib.request import urlopen
import json
''' Get the country codes'''
url = 'http://partners.api.skyscanner.net/apiservices/reference/v1.0/countries/en-US?apiKey={apikey}'