Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Apr 21, 2024. It is now read-only.
/cc-apiPublic archive

An open-source API for Caribbean Cinemas

License

NotificationsYou must be signed in to change notification settings

rnegron/cc-api

Repository files navigation

TypeScript 90+%Build StatusSnykMaintainabilityTest Coverage

A bare-bones homebrew implementation of the Caribbean Cinemas API, being built in TypeScript using web scrapers. An official API exists, this is just a fun exercise. For personal use only.

Note: Since the data for this API is being obtained by scraping the web page, it is not expected to be accurate forever. In fact, new data will be unobtainable once the web page changes, at least until the scrapers get updated to compensate. In any case, this is a toy project and should be treated as such.

How To

Run the API

yarn serve

Scrape theatres and update database

yarn tasks get-movie-theatres --persist

ScrapeNow Showing Movies

yarn tasks get-now-showing

ScrapeComing Soon Movies and update database

yarn tasks get-coming-soon --persist

Add all movie runs for all theatres

yarn tasks add-movie-runs --persist

To-Do

  • General
    • Logging
    • Throttling
    • Versioning
    • JSONAPI Schema Serialization
    • Documentation
    • Server side caching
    • Task Scheduling using Heroku Scheduler
    • Pagination
    • 100% Test Coverage
    • A Maintainability Rating
    • TravisCI Deployment

[8]ページ先頭

©2009-2025 Movatter.jp