Skip to content

Instantly share code, notes, and snippets.

@frieadgood
frieadgood / fugle-realtime-api.py
Created June 25, 2019 09:21
Fugle realtime API demo code(#2884)
import websocket
def on_message(ws, message):
print(message)
def on_error(ws, error):
print(error)
def on_close(ws):
@frieadgood
frieadgood / address-lat-lng.py
Created September 7, 2019 11:52
Convert your address to Latitude and longitude
import geocoder
address = ['PLEASE INSERT YOUR ADDRESS LIST HERE']
for i in address:
g = geocoder.arcgis(i)
print(g.latlng)