Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cityssm/agco-break-open-ticket-types
Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.
https://github.com/cityssm/agco-break-open-ticket-types
agco nevada tickets
Last synced: 20 days ago
JSON representation
Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.
- Host: GitHub
- URL: https://github.com/cityssm/agco-break-open-ticket-types
- Owner: cityssm
- License: mit
- Created: 2024-10-11T17:42:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T14:47:12.000Z (about 2 months ago)
- Last Synced: 2024-11-16T14:18:52.473Z (about 1 month ago)
- Topics: agco, nevada, tickets
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@cityssm/agco-break-open-ticket-types
- Size: 265 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# AGCO Break Open Ticket Types
[![npm (scoped)](https://img.shields.io/npm/v/@cityssm/agco-break-open-ticket-types)](https://www.npmjs.com/package/@cityssm/agco-break-open-ticket-types)
[![Maintainability](https://api.codeclimate.com/v1/badges/b6538a4b810f5968ee30/maintainability)](https://codeclimate.com/github/cityssm/agco-break-open-ticket-types/maintainability)
[![codecov](https://codecov.io/gh/cityssm/agco-break-open-ticket-types/graph/badge.svg?token=L66FE97G6B)](https://codecov.io/gh/cityssm/agco-break-open-ticket-types)
[![DeepSource](https://app.deepsource.com/gh/cityssm/agco-break-open-ticket-types.svg/?label=active+issues&show_trend=true&token=ljmY2sbIaajAR8yQRWt4R4yM)](https://app.deepsource.com/gh/cityssm/agco-break-open-ticket-types/)
[![Coverage Testing](https://github.com/cityssm/agco-break-open-ticket-types/actions/workflows/coverage.yml/badge.svg)](https://github.com/cityssm/agco-break-open-ticket-types/actions/workflows/coverage.yml)Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.
[Schedule of Approved Break Open Ticket Types and Associated Expense Maximums](https://www.agco.ca/en/lottery-and-gaming/schedule-approved-break-open-ticket-types-and-associated-expense-maximums)
## Installation
```sh
npm install @cityssm/agco-break-open-ticket-types
```## Usage
```javascript
import {
isTicketType,
ticketTypes
} from '@cityssm/agco-break-open-ticket-types'console.log(isTicketType('BN1'))
// => trueconsole.log(isTicketType('AG1000'))
// => falseconsole.log(ticketTypes.SP1)
/*
{
ticketType: "SP1",
ticketPrice: 0.5,
ticketCount: 2730,
prizesPerDeal: 930
}
*/
```## Related Projects
[Lottery Licence Manager](https://github.com/cityssm/lottery-licence-manager)
A web application for managing AGCO's municipal lottery licensing requirements in Ontario.