ApiModule

@Module
object ApiModule

Functions

Link copied to clipboard
@Provides
@Singleton
fun provideAnalysisDataApi(retrofit: Retrofit): AnalysisDataAPI
Link copied to clipboard
@Provides
@Singleton
fun provideProductsAPI(retrofit: Retrofit): ProductsAPI
Link copied to clipboard
@Provides
@Singleton
fun provideRobotoffApi(retrofit: Retrofit): RobotoffAPI
Link copied to clipboard
@Provides
@Singleton
fun provideWikiDataAPI(retrofit: Retrofit): WikidataAPI