add api_demo, an example for fetching graphs from the api.