gurl

A little lib for generating URL with args.


Keywords
tags, http, generating, url, deleted
License
MIT
Install
nimble install gurl

Documentation

Gurl

Little lib for generating URL with args.

Using

import gurl

var oargs = {
    "q": "Test",
    "format": "Json"
}.toOrderedTable

var args = {
    "q": "Test",
    "format": "Json"
}.toTable

gurl("http://some.api", oargs) # http://some.api/?q=Test&format=Json
gurl("http://some.api", args) # http://some.api/?format=Json&q=Test