Skip to content

Latest commit

 

History

86 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rito-news

Go Reference Go Report Card

Description

Go package that provides an API to get official news about Riot Games and their games (League of Legends, Legends of Runeterra, Teamfight Tactics, VALORANT and Wild Rift)

How to use

package main

import (
	"fmt"

	"github.com/Antosik/rito-news/lol"
)

func main() {
	client := lol.NewsClient{Locale: "ru-ru"}
	items, err := client.GetItems(10)

	if err != nil {
		fmt.Printf("An error occured: %v", err)
	} else {
		for _, item := range items {
			fmt.Println(item.Title, item.URL)
		}
	}
}

Supported Services

Attribution

This service isn't developed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends, Legends of Runeterra, Teamfight Tactics, VALORANT, or Wild Rift. League of Legends, Legends of Runeterra, Teamfight Tactics, VALORANT, Wild Rift and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends, Legends of Runeterra, Teamfight Tactics, VALORANT, Wild Rift (c) Riot Games, Inc.

About

📰🎮 Go package that provides an API to get official news about Riot Games games

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages