gandi.cli icon indicating copy to clipboard operation
gandi.cli copied to clipboard

FR: Domain Availability - Lookup by price

Open larsen161 opened this issue 4 years ago • 0 comments

Feature Request I would like to be able to ask gandi what domains are available for "something" and have the domains that are available sorted by price returned to me. It should have some defaults like return the first 20 domains available, sort by price ascending, show price for 1 year duration, etc. It should also allow me to modify these defaults as desired

limit <int>
lessthan <float>
greaterthan <float>
sort asc|desc
country <ISO country code>
currency <ISO currency code>
max_duration <int>

For example:

$ gandi domain find mahatmagandhi
mahatmagandhi.site $0.99
mahatmagandhi.club $4.51
mahatmagandhi.me $6.00
mahatmagandhi.org.uk $9.88
mahatmagandhi.fr $15.00
mahatmagandhi.us $15.50
mahatmagandhi.io $38.00

$ gandi domain find mahatmagandhi limit 5
mahatmagandhi.site $0.99
mahatmagandhi.club $4.51
mahatmagandhi.me $6.00
mahatmagandhi.org.uk $9.88
mahatmagandhi.fr $15.00

$ gandi domain find mahatmagandhi lessthan 10.00
mahatmagandhi.site $0.99
mahatmagandhi.club $4.51
mahatmagandhi.me $6.00
mahatmagandhi.org.uk $9.88

$ gandi domain find mahatmagandhi lessthan 10.00 max_duration 2
mahatmagandhi.site $0.99,$8.00
mahatmagandhi.club $4.51,$34.72
mahatmagandhi.me $6.00,$48.00
mahatmagandhi.org.uk $9.88,$19.76

larsen161 avatar Nov 08 '20 05:11 larsen161