automate-now

command module
v0.0.0-...-78a0f96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 14 Imported by: 0

README

Automate /now

My attempts at automating my /now page.

Inspired by Robb Knight and Sophie Koonin.

Data sources

Getting data from various services isn't easy. A lot of services and platforms do not offer a viable way of retrieving your data.

Instead I've found a number of other services that allow me to obtain and track this data.

🍿 Letterboxd

Letterboxd provides an RSS feed for each of its users.

Adding movies to the RSS feed

To add movies to your Letterboxd RSS feed, you need to click the 'Review or log' button for a movie and add a date for when you watched the movie.

Viewing the RSS feed

Via the Letterboxd website, log in and then view your profile. There is an RSS icon at the end of the profile navigation menu. Clicking this will take you to the profile's RSS feed.

The RSS url is formatted in the following format:

https://letterboxd.com/USERNAME_HERE/rss/

Simply replace the USERNAME_HERE part with any Letterboxd username to view their RSS feed.

📚 Oku

Oku provides an RSS feed for each collection for a user. By default users of Oku will have three collections; To Read, Reading and Read.

Finding this feed url isn't super straight forward as there's no icon for it in the web app. Intead to get this url, you'll need to right click the page and select 'Inspect' (or View Page Source) and then under the body tag you should see a line like this:

<link rel="alternate" type="application/rss+xml" href="https://oku.club/rss/collection/UNIQUE_STRING_HERE">

The url listed here is the RSS feed for your collection - Most folks will want to use the default 'Reading' collection for this script.

📺 Serializd

Serializd does not provide an RSS feed for users but is it possible to retrieve data in a JSON format using their API.

For this script I've used the Diary API endpoint (https://www.serializd.com/api/user/USERNAME_HERE/diary) to retrieve recently watched TV shows that have been logged.

Logging episodes to your diary

To add an episode to your diary, click the 'Log/Review' button for the episode and add a date for when you watched the episode.

🎮 Backloggd

Backloggd has no RSS feed or an API that be be used to get the games a user is currently playing. Instead this data can be obtained via web scraping a user's public 'playing' page.

Adding games to your playing page

Click the 'Playing' button on a games page on Backlogged to add it to your 'playing' page.

✈️ Nomadlist

Nomadlist has a public endpoint for user profiles that displays data in JSON. User profiles contain a history of past countries visited/trips.

This data can be accessed via https://nomadlist.com/USERNAME_HERE.json

Adding a trip to your trip history

Go to your profile and fill out the trip start, end date, city and then click Add trip.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL