Giter Club home page Giter Club logo

actorioustoday's Introduction

ActoriousToday

This repository contains the code for a TMS WEB Core web app that demonstrates how to use the Actorious "TopToday" REST API endpoint to retrieve a set of the most popular actors with birthdays on the given date.

This web app can be accessed directly at https://www.actorious.com/today and will also accept the following URL parameters.

  • N: Number of people to display (max: 30)
  • F: First person to display (useful when displaying sets with different sizes)
  • W: Container width
  • H: Container height
  • X: Container left offset
  • Y: Container top offset
  • S: Container scale factor
  • B: Container background (CSS color value)
  • R: Border radius (for image rounding)
  • M: Month (if different than current month)
  • D: Day (if different than current day)

For example, to display the top 25 people with a June 7th birthday in a 5x5 grid, the following might be used. Leaving off the final two parameters (M and D) will return results for the current date.

https://www.actorious.com/today/?N=25&W=950&H=1410&S=.486&B=%231C1C1C&X=1&R=10px&M=6&D=7

This can be embedded into another page using an <iframe> or in the case of Home Assistant, a Webpage card (which internally uses an <iframe>). Multiple such links can be used to create more interesting arrangements. For example, maybe the top five are displayed with larger images 5-across, with the next 24 displayed with smaller thumbnails 8-across. This is where the need for the F parameter comes from - to skip over the first five when generating a second request for the remaining photos.

For more information about using <iframe> elements with TMS WEB Core web applications, check out this post.

Repository Information

Count Lines of Code

Last Updated at 2023-12-24 05:06:02 UTC
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Pascal                           2             48             62            160
Markdown                         1              8              2             41
Delphi Form                      1              0              0             39
YAML                             2             11             12             33
HTML                             2              7              0             23
-------------------------------------------------------------------------------
SUM:                             8             74             76            296
-------------------------------------------------------------------------------

Sponsor / Donate / Support

If you find this work interesting, helpful, or valuable, or that it has saved you time, money, or both, please consider directly supporting these efforts financially via GitHub Sponsors or donating via Buy Me a Pizza. Also, check out these other GitHub Repositories that may interest you.

More TMS WEB Core and TMS XData Content

If you're interested in other TMS WEB Core and TMS XData content, follow along on ๐• at @WebCoreAndMore, join our ๐• Web Core and More Community, or check out the TMS Software Blog.

actorioustoday's People

Stargazers

 avatar

Watchers

 avatar

Forkers

atkins126

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.