Giter VIP home page Giter VIP logo

transfermarkt-api's Introduction

transfermarkt-api's People

Contributors

felipeall avatar marcinszewczykarch avatar sthewissen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

transfermarkt-api's Issues

Player names on the /profile endpoint

Hi @felipeall,

I wanted to ask if there's away to add a fullname property to the payload for a player's profile (or to point me to another endpoint if it's supported elsewhere ?), or if I'm missing some field somewhere.

For example for this player I couldn't get the player's firstname from the payload. So far the only way I found to get the fullname is by querrying the club's players' endpoint, but that's not always feasible.

Thanks in advance.

Get Player Stats not working for Goalkeepers

The recent release of the Get Player Stats endpoint, returns a 500 status code when searching for a goalkeeper.

Because the Player Stats information on Transfermarkt is ordered differently for goalkeepers in comparison to other players. Goalkeepers have two extra columns:

  • Goals Conceded
  • Clean Sheets

Examples:
Goalkeeper: https://www.transfermarkt.com/-/leistungsdatendetails/spieler/50219
Field player: https://www.transfermarkt.com/-/leistungsdatendetails/spieler/137576

Proposal:
Enable code to handle Goalkeepers by also extracting Goals Conceded and Clean Sheets when avaiable. Do this by first recognizing whether player is a Goalkeeper or Field Player, before extraction.

Add Player Achievements API

Hi!

Thanks for creating such a great tool and making it available for everyone (:

I'm wondering if you have in plan to add an API to request Player Achievements. I'm working on a quiz app and this would be highly appreciated.

Adding Transfer History

Hello, i've been experimenting your api on python for a few days and liked it a lot. found it would be cool to add a Transfer History feature.

Add list competitions and list clubs

Hi, thank you very much for making this. There are many tools out there, this I think this looks fresh and pretty useful!

What do you think about adding these two endpoints?

  • GET competitions/ -> this can return all competition names, useful to deep dive into them later on
  • GET clubs/ -> pretty much the same here

By adding these two endpoints I think the value of this app increases quite a lot

players profile endpoint issue

Hi!
Thanks a lot for making this project, I have fun playing with your api ;)

It seems there is some issue with players/{playerId}/profile and players/{playerId}/stats endpoints (response status is 404):

 {
  "detail": "Invalid request (url: https://www.transfermarkt.com/-/profil/spieler/1)"
}

All the best!

Live Scores

Is there a way of getting live scores from live matches?

Players list is incomplete from /clubs/{club_id}/players

Hey -- first of all, thanks for this. Awesome work.

I'd like to point out an issue i've run into. It seems that the player list for any team is always incomplete. For example, using Austin FC as a reference - it will scrape 21 names with the following python code:

`import requests
import csv

url = 'http://localhost:8000/clubs/72309/players?season_id=2023'
headers = {'accept': 'application/json'}

response = requests.get(url, headers=headers)
data = response.json()`

[picture of output in csv]
image

In Transfermarkt, it seems to stop right at Memo Rodriguez:

image

This is replicable with other teams as well. Is there something that I am doing wrong?

I appreciate your time working on this!

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.