Beispiel #1
0
        /// <summary> Get "move" happenings for a nation since a Unix timestamp </summary>
        private async Task <List <string> > LastMoves(string nationName, double since)
        {
            var url =
                $"https://www.nationstates.net/cgi-bin/api.cgi?q=happenings;view=nation.{nationName};filter=move;sincetime={since}";
            var response = await api.Request(url);

            return(response.FindAll("<EVENT(.*?)</EVENT>"));
        }