TA
Talha-T/WallpaperAPI
League Of Legends Wallpaper API for C#
Wallpapers API
for C#
Wallpapers, categories, comments and more!
Powered by LoL Wallpapers API
Usage
Download libraries under /libs folder and add reference to your project.
Add using tag after referencing:
using TalhaT.WallpapersApi;Then, make sure you have set your key:
WallpaperApi.SetKey("z4oXaJzHiETLf0...");Get first page of wallpapers (20 wallpapers by default) :
var wallpaper = await WallpaperApi.GetWallpapersAsync(); //asynchronously
var wallpaper = WallpaperApi.GetWallpapers(); //synchronouslyQuery examples:
var wallpaper = await WallpaperApi.GetWallpapersAsync("limit=50", "page=10", "orderby=view_count", "check api documentation");Darius wallpapers:
var categories = await WallpaperApi.GetCategoriesAsync();
var darius = categories.GetData().First(x => x.Name == "darius");
var id = darius.Id;
var dariusWallpapers = await WallpaperApi.GetWallpapersAsync($"category_ID={id}");On this page
Languages
C#100.0%
Contributors
Latest Release
1.0December 8, 2017MIT License
Created July 20, 2017
Updated November 7, 2024