minj / foxtrick

FoxTrick is a browser extension for the Hattrick online football manager game, currently available for Firefox, Google Chrome, as well as for Opera.
https://www.foxtrick.org
GNU General Public License v3.0
69 stars 49 forks source link

Mercattrick integration #1656

Closed minj closed 3 years ago

minj commented 4 years ago

GET https://api.mercattrick.com/v1/players/stats/id1,id2,...,id25

Response example:

    [
      {
        "id": 436441778,
        "filters_count": 47,
        "bookmarks_count": 1
      },
      {
        "id": 438100968,
        "filters_count": 26,
        "bookmarks_count": 0
      }
    ]
minj commented 4 years ago

Icons are needed for SkillTable

image

dromichet commented 4 years ago

Here is the logo ... in PNG format, as SVG would be bigger in size and there's no need to support scaling.

Mercattrick Logo-04

You mentioned you need two different ones but I don't see exactly where you want to use them. On the headers I see only texts. Do you want to place a small logo next to the value?

minj commented 4 years ago

Rather instead of the text

dromichet commented 4 years ago

Ok. I'll try to come-up with something

dromichet commented 4 years ago

bookmarks_count for bookmarks_count filters_count for filters_count

Do you think these will do?

minj commented 4 years ago

Yep, I think so

dromichet commented 4 years ago

Hi. I've implemented the integration and created a pull request. When you have time, please have a look over the implementation.