Giter Site home page Giter Site logo

Other fantasy sports about espn-api HOT 8 CLOSED

cwendt94 avatar cwendt94 commented on May 22, 2024
Other fantasy sports

from espn-api.

Comments (8)

cwendt94 avatar cwendt94 commented on May 22, 2024 1

That’s a great idea, I really like that! I am definitely down into expanding to different fantasy sports.

Also I have been meaning to make a dev branch where all PRs can be based on. That way multiple feature and bug fixes can be merged into dev and be a test branch of all changes. This would also allow better versioning on the main package.

from espn-api.

cwendt94 avatar cwendt94 commented on May 22, 2024 1

Interesting, that structure does look a lot simpler and will keep everything together. I will create a dev branch by the end of tonight so you can create your branch and PR off of that

from espn-api.

cwendt94 avatar cwendt94 commented on May 22, 2024 1

@bsmiller25 I plan on adding a couple changes to the core ff_espn_api this week and pushing out a new version. Then I will start updating package name, README/Wiki, and test for the new fantasy sports PR #73

from espn-api.

bsmiller25 avatar bsmiller25 commented on May 22, 2024

Can you set up the dev branch soon? I've got my basketball submodule about as developed as I want it so I'm ready to submit a pull request. It's a pretty significant reorganization of the package as a whole so I think it would be a good idea for you to request changes or make changes yourself on a dev branch before merging to master. Once the structure you want is finalized the README should be updated.

The basketball part is not nearly as well built out as what you have for football but it has the league with teams and players and the players have stats. I'm mostly interested in using this for analytics so I don't plan on doing much more. At least until fantasy baseball season starts (or I find a a new use case and want more features)!

from espn-api.

cwendt94 avatar cwendt94 commented on May 22, 2024

So I have been thinking a lot of how the structure would be with adding different sports. Having them all under one package could make it really tricky. A couple of things that come to mind is versioning for the different packages. If only one module updates having to update all of the packages version and then doing branching gets difficult.

My proposition and wanted to see what you think about this, is to break fb_espn_api into its own github page and PyPI package. With this I would take out the shared functionality between fantasy football and fantasy basket api and put it in its own package and repository as espn_api_util. This will make versioning and updating those packages a lot easier while still sharing the common api utils.

If you want to host the fb_espn_api on your own I could help/co work on it for the common api parts. Or if you want I could host it and have you co master contributor on it.

Thoughts?

from espn-api.

bsmiller25 avatar bsmiller25 commented on May 22, 2024

I think this structure is way to go:

espn-api
| -- setup.py
| -- README.md
| | espn-api
| | -- utils.py
| | -- football
| | | -- league.py
| | | -- etc
| | -- basketball
| | | -- league.py
| | | -- etc
| | -- baseball
| | | -- league.py
...

I don't think it makes versioning or branching more complicated. You wouldn't have to version the packages separately. Take a look at how numpy is structured with linalg, random, and other submodules and how their releases work. I think having separate espn-util, football, basketball, baseball, etc repos is too spread out.

from espn-api.

cwendt94 avatar cwendt94 commented on May 22, 2024

develop branch has been created! https://github.com/cwendt94/ff-espn-api/tree/develop

from espn-api.

bsmiller25 avatar bsmiller25 commented on May 22, 2024

Pull request #73 submitted!

from espn-api.

Related Issues (20)

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.