Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Releases: brookmg/Soccer-Ethiopia-API

v0.6.0

05 Jul 13:56
Compare
Choose a tag to compare
  • the API will not throw NullPointerExceptions

  • added another entry for TeamRanking with moreDetailed parameter

  • parsing and other api tasks are now done on a different thread 

    • A thread pool will handle resource intensive tasks such as parsing the dom on a background thread. the callback function that's provided by the developer when making the method calls will still be run on the UI thread.
  • data model classes are now serializable

  • some upgrades on gradle and dependencies

  • made ThreadPoolProvider a singleton

  • bug fix on integer parse in LeagueScheduleFetch

    • bug fix on league schedule fetch. remove non numeric characters before parsing team score int value

v0.5.1

15 May 06:12
Compare
Choose a tag to compare
  • preparing to use thread pool for tasks
  • opt-in or out for using cached data
  • implemented single news item fetch functionality
  • added a way to enable/disable caching
    • it's possible now to pass a boolean to the constructor of SoccerEthiopiaApi class to enable or disable caching
    • corrected some docs to add this param
  • fixed a bug where null is returned as error message
  • added sample code for the new functionality and prettified README

v0.5.0

04 May 07:23
9aa3c89
Compare
Choose a tag to compare

** Defined the basic structure and methods for the news fetch feature

  • NewsFetch will have the same structure as other fetching classes
  • NewsItem is the structure for a single news item
  • OnError is now a standalone interface to be used for error callbacks ( Replacement of the StandingFetch.OnError interface ).

** [BREAKING CHANGE] StandingFetch.OnError -> OnError

  • changed methods using StandingFetch.OnError interface for error callbacks to use OnError standalone interface instead
  • made STATUS_CANCELLED final variable public

** working on implementing tests

  • implemented mockito dependency
  • changed deprecated methods
  • started working on NewsFetch unit test

** Implemented NewsFetch

  • It's possible to retrive list of news items now
  • modified news item structure to add news image property
  • added an example code on the sample activity

** added author name in the NewsItem along side the author profile link

v0.4.1

24 Apr 12:40
Compare
Choose a tag to compare
  • Gradle is updated
  • Kotlin extension is updated
  • Migrated to AndroidX 😎
  • Fixed some mapping errors on the AndroidX migration
  • Fixed android pie cleartextTraffic problems. (We can't use HTTPS, they don't have that 😞 )
  • corrected implementation guide on the README

v0.4.0

20 Feb 06:21
Compare
Choose a tag to compare
    • added methods to get the next game for a team, also find if there is a game in the current week also
  • added the getNextGameOfTeam and getNextGameOfTeamInThisWeek with there implementation
  • a sample code on the Sample Activity
    • Added a way to fetch the latest top players
  • Player structure class now has more properties
  • Top players can be fetched now
  • Added a sample code on the sample activity
    • Added a method to get Player detail
  • added methods for getting details of a player
  • modified Player class to show player position when converted to a string
  • added a method to modify certain properties inside Player class
  • only one instance of SoccerEthiopiaApi exist now on the sample activity. To prevent multiple RequestQueue creations
  • added sample code for getting the detail of a specific player
  • added a method to get ISO alpha 2 and 3 country codes for a specific player (nationality)
  • newly added methods are documented now

v0.3.0

07 Feb 10:01
09f3f82
Compare
Choose a tag to compare
  • A structure for Team

    • added team logo in team structure, added structure class for Player
    • huge changes ahead
  • added constants of team instances that need some correction (This is only for the current session)
  • added method to get Team given the team fullname
  • new package for custom exceptions ... named errors
  • added id for team structure
  • [BREAKING_CHANGE] changed map values from <String , Integer> to <Team , Integer> ... to make use of the structure

  • Working on the Team structure

  • made league schedules to support Team structure
  • added keyword property for Team because of the Similar naming problem. Also some setter and getter methods
  • changed the getTeamFromTeamName method to support some inconsistencies in the team naming
  • Create TeamDetailsFetch.java

    • added team link to Team structure and all the Team constants
    • tostring method for Team and a bug fix... also ignore all .html files that will be used for testing
    • first implementation of team detail fetch
    • second round implementation...
  • removed unwanted interfaces
  • make an actual request with volley to Team's link
  • no more context running around
  • simple implementation on the sample activity
    • A new way of handling parsing the team detail from website
  • The previous way of parsing Team detail incouraged some error when coming across incosistencies on the website. Therefore a new implementation was needed
    • fetch team detail for all known teams, added sample code for that
    • added java doc for team detail fetch
    • update Readme to reflect the latest change

v0.2.1

18 Jan 18:33
53b6776
Compare
Choose a tag to compare

NO BREAKING CHANGES.
Added functionalities:

  • getThisWeekLeagueSchedule(...)
  • getLastWeekLeagueSchedule(...)
  • getNextWeekLeagueSchedule(...)

v_0.2.0

11 Jan 19:15
Compare
Choose a tag to compare
  • added league schedule API

initial_release

21 Dec 07:30
Compare
Choose a tag to compare
  • one feature ... fetch the latest ranking data of clubs