Coder Social home page Coder Social logo

calendar-store-api's People

Contributors

aymericbeaumet avatar evert avatar rutger-zz avatar rutgerg avatar wilfredstegeman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calendar-store-api's Issues

Wrong data type returned for /cities/cities_in_bounds

The cities_in_bounds is documented to return location_name, location_coordinates, location_id fields, but is currently returning the following objects instead:
{
fo = 101735161;
la = "3.17";
lo = "101.7";
to = "Kuala Lumpur";
ty = i;
}

Add sport_id to API

sport is string which change when changing language. This issue would add a sport_id as a unique key for determining the sport independent of language. This could be use to overwrite sport specific icons

Add the icon key to search in the API

Client Request

We ran into a problem with search not return icons. Here's a snippet from the /pages API. Note that there's an "icon" key returned.

{
"item": {
"item_id": 25634156,
"name": "NCAAB",
"url": "https://apidev.flexibits.com/fantastical/schedjoules/v1/pages/25634156?locale=en",
"category_id": 2,
"category": "Sports",
"country": "United States",
"sport": "Basketball",
"season": "2018-2019",
"gender": "Men",
"icon": "https://cdn-images.schedjoules.com/assets/basketball.png?0be1c70958ebfed702de32752cbcd31c"
},
"item_class": "page"
},

Now here's the same calendar returned by /pages/search?q=NCAAB. Note that there's no "icon" key here.

{
"item_class": "page",
"item": {
"item_id": 25634156,
"name": "NCAAB",
"url": "https://apidev.flexibits.com/fantastical/schedjoules/v1/pages/25634156?locale=en",
"category": "Sports",
"category_id": 2,
"country": "United States",
"sport": "Basketball",
"season": "2018-2019",
"gender": "Men",
"parent_name": "us-Tree"
}
},

Can you add the icon key to search as well so that we get the same icons to appear during search?

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.