ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
| from sqlalchemy import create_engine | |
| from sqlalchemy.orm import Session | |
| from myapp.models import BaseModel | |
| import pytest | |
| @pytest.fixture(scope="session") | |
| def engine(): | |
| return create_engine("postgresql://localhost/test_database") |
| import asyncio | |
| import streamlit as st | |
| from httpx_oauth.clients.google import GoogleOAuth2 | |
| st.title("Google OAuth2 flow") | |
| "## Configuration" | |
| client_id = st.text_input("Client ID") |
I learned this when trying to clear our records in AWS Neptune. I was hitting the query timeout when trying to drop an entire graph. If you don't want to/can't raise the timeout, you can drop smaller parts of the graph in each transaction.
curl -sX POST http://<cluster-prefix>.rds.amazonaws.com:8182/sparql --data-urlencode 'update=
DELETE {
GRAPH <http://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph> { ?s ?p ?o }
}
WHERE {
GRAPH <http://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph> {
{