Skip to content

A small Friday night project to use an ESP8266 to query Anilist GraphQL API and display profile data on a mini OLED.

License

Notifications You must be signed in to change notification settings

barrettotte/Anilist-ESP8266

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anilist-ESP8266

A small Friday night project to use an ESP8266 to query Anilist GraphQL API and display profile data on a mini OLED.

OLED output

Purpose

I haven't touched any Arduino stuff in a couple years, so I figured I needed a fun refresher before tackling a different project. This small project was used to learn more about PlatformIO and HTTP requests on ESP8266. I used the Anilist API for this because I've already used it in a couple other weekend projects and it is super easy to mess around with.

Configuration

My small brain couldn't figure out loading secrets with PlatformIO advanced scripting, so I just setup a separate header file called anilist8266_config.h. Its still plaintext credentials though...I think it works good enough for a messaround project.

/* include/anilist8266_config.h */

#ifndef ANILIST8266_CONFIG_H
#define ANILIST8266_CONFIG_H

const char *_ANILIST_USER = "user";

const char *_WIFI_SSID = "SSID";
const char *_WIFI_PWD  = "PASSWORD"; 

#endif

References

About

A small Friday night project to use an ESP8266 to query Anilist GraphQL API and display profile data on a mini OLED.

Topics

Resources

License

Stars

Watchers

Forks