GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - teeworlds-utilities/tw-mastersrv: 🔎 Parsing Teeworlds master server

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

tw-mastersrv

How to build and run ?

  1. Install the dependencies
    • cargo

Usage example

use tw_mastersrv::mastersrv::TwMasterServer;

fn main() {
    let url = "https://master1.ddnet.tw/ddnet/15/servers.json";    
    let master_srv = TwMasterServer::new(url);

    // Search server by name
    match master_srv.search_server_by_name("fng") {
        Some(servers) => {
            for server in servers {
                println!("{:?}", server.info.name)
            }
        },
        None => return
    };
}

About

🔎 Parsing Teeworlds master server

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.