It is currently 07 Nov 2025, 12:24
   
Text Size

Magic Album - Feature Requests

Enable os.clock function (implemented)

 

I am writing scryfall.com pricing script for MA (https://github.com/refaim/MagicAlbumScryfallPriceScript).

According to Scryfall API documentation (https://scryfall.com/docs/api/) an API client can safely perform no more than 10 requests per second, so I need to add delay between calls to ma.GetUrl function.

Unfortunately, I could not find any reliable way to implement sleep function in MA Lua interpreter.

So it would be great if the standard Lua os.clock function was added to pricing scripts environment.

History

Changed ticket status from "Awaiting information" to "Implemented"
Action performed by Goblin Hero » 04 Oct 2018, 11:15
Changed ticket priority from "Normal" to "(unknown)"
Action performed by Goblin Hero » 04 Oct 2018, 06:51
Changed ticket status from "New" to "Awaiting information"
Action performed by Goblin Hero » 04 Oct 2018, 06:51
Assigned ticket to user "Goblin Hero"
Action performed by Goblin Hero » 04 Oct 2018, 06:51

Ticket details

  • Ticket ID: 1489
  • Project: Magic Album
  • Status: Implemented
  • Component: Pricing
  • Project version: (unknown)
  • Priority: Normal
  • Assigned to: Goblin Hero
  • Reported by:
  • Reporter's tickets: List all tickets
  • Reported on: 04 Oct 2018, 01:15
  • Last visited by Goblin Hero » 05 Dec 2018, 08:07.
 

Main Menu

User Menu

Our Partners


Login Form