An open API service indexing awesome lists of open source software.

https://github.com/noweh/project-marvel-memories

Fanmade project using Twitter API and Marvel API.
https://github.com/noweh/project-marvel-memories

marvel-api php twitter-api-v2 twitter-bot

Last synced: about 1 month ago
JSON representation

Fanmade project using Twitter API and Marvel API.

Awesome Lists containing this project

README

        

# Project Marvel Memories

![PHP](https://img.shields.io/badge/PHP-v8.1-828cb7.svg?style=flat-square&logo=php)
![SQLite](https://img.shields.io/static/v1?style=flat-square&message=SQLite&color=003B57&logo=SQLite&logoColor=FFFFFF&label=)
[![Marvel](https://img.shields.io/badge/Marvel%20API-828cb7.svg?color=FF2D20)](https://developer.marvel.com/)
[![Badge Twitter](https://img.shields.io/badge/Twitter%20API-v2-828cb7.svg?style=flat-square&logo=twitter&color=1DA1F2)](https://developer.twitter.com/en/docs/twitter-api)
[![MIT Licensed](https://img.shields.io/github/license/noweh/project-marvel-memories)](licence.md)

A fanmade project in PHP using [API Twitter V2](https://github.com/noweh/twitter-api-v2-php), [Marvel API](https://developer.marvel.com/) and [Github action scheduler](https://github.com/marketplace/actions/schedule-job-action).

## What about?

Posts a random cover with details about Marvel comics history to a Twitter account every hour.

Store the already published covers to avoir duplicate posts, in an automatically updated SQLite database.

### Procedures

A [file](.github/workflows/run-schedule.yml) in .github/workflows/ folder run the "php project/[run.php](project/run.php)" script every hour.

This script can be manually executed.

### Example:



Tweet example