Skip to content

Instantly share code, notes, and snippets.

@duivesteyn
duivesteyn / Android Super Simple HTTPS GET Request Example.java
Last active February 14, 2022 05:18
Super Simple Android HTTPS GET Request Example using Volley
//
// duivesteyn // Super Simple Android HTTPS GET Request Example using Volley.
// There was so much confusing android content online, I wanted to post a simple Example of a HTTPS GET Request with here.
// Uses Google Volley.
//
// (and yes I'm new to java. This is the first java code I ever wrote)
//
// 2022-02-14
//
@duivesteyn
duivesteyn / bmd-exploring-the-yahoo-finance-stock-search-api.py
Last active July 21, 2021 09:55
Demonstrates Yahoo Finance Ticker Search API
#!/user/bin/env python3
# coding: utf-8
# bmd-exploring-the-yahoo-finance-stock-search-api
# bmd
# exploring the yahoo finance stock lookup API. I.e. something that will identify tickers from a search
# python code that takes an input stock ticker code (fragment), and returns the most likely result(s) for the search.
# Api exists at https://finance.yahoo.com/_finance_doubledown/api/resource/searchassist;searchTerm=WAF
# But is pretty undocumented. Seems to have been around for years (since 2019ish). Seems to give just the 10 most likely guesses
#