Skip to content

Releases: Nomissimon10/nrk-api

v1.1.0

23 Mar 16:25
6fc3c2b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

  • Added what languages are supported
  • Error: AgeRestrictionError
  • Utils: requestUtils, for handling all requests and default errors
  • Changed all requests to using requestUtils
  • Removed unused imports
  • Fixed function descriptions for throws
  • Enum: ContentGroup
  • Enum: Medium
  • Enum: Platform
  • Error: SearchError
  • Interface: AutocompleteSearchOptions
  • Interface: SearchOptions
  • Interface: SearchPopularOptions
  • Interface: SearchTitleOptions
  • Interface: SuperInstalmentOptions
  • Interface: SuperMetadataSeriesOptions
  • Interface: superPageOptions
  • Interface: SuperUniverseOptions
  • Removed TvCategoryPageOptions and TvFronPageOptions interfaces as and replaced them with a common TvPageOptions interface
  • Added enums to the interfaces
  • Module: indexElements, for getting index from letters
  • Module: nrkSuper, for communicating with the nrkSuper endpoints
  • Module: search, for using the search functionality
  • Updated comments and docstrings
  • Moved error handling into requestUtils
  • Wrote docstrings for utils
  • Module: radio
  • Interface: RadioPageOptions
  • Enum: Variant
  • Updated interfaces to use Variant enum
  • Updated README with a better fitted TODO/Features overview
  • Radio currently supports all category and page requests

v1.0.1

22 Mar 15:44

Choose a tag to compare

  • Added more details and information to README.
  • Added enums folder.
  • Enum: AgeRestriction
  • Interface: InstalmentOptions
  • Interface: ProgramOptions
  • Interface: SeasonOptions
  • Interface: SeriesOptions
  • Better documentation of functions
  • Throws more accurate errors
  • Fixed/improved regex for programs
  • Added getTVSeries, getTVSeriesExtramaterials, getTypeOfTVSeries, getTvSeriesInstalments, getSeriesSeason and getDimensionsForProgram
  • Added minimum node version to README and package.json

v1.0.0

22 Mar 14:45

Choose a tag to compare

  • Updated README
  • Added package.json (+lock)
  • Configured typescript (tsconfig)
  • Made basic file structure. (errors, interfaces, modules, utils)
  • Using bags to export files from filestructure
  • Error: InvalidProgramIdError
  • Error: PageNotFoundError
  • Error: RateLimitError
  • Interface: ProgramOptions
  • Interface: TvCategoryPageOptions
  • Interface: TvFrontPageOptions
  • Interface: TvPageOptions
  • Interface: TvSectionOptions
  • Interface: TvSubPagesOptions
  • Module: tv, that contains functions for interacting with the NRK-TV API.
  • Utils: queryUtils, for converting options to query string