http://api.genderize.io/?name=jessie
{"jessie":"male"}
irb(main):005:0> d.get_gender("Jessie")
=> :female
Not only is it better, it handles cases like androgynous and "mostly male"BRB while I turn this into a web api
http://api.genderize.io/?name=jessie
{"jessie":"male"}
irb(main):005:0> d.get_gender("Jessie")
=> :female
Not only is it better, it handles cases like androgynous and "mostly male"BRB while I turn this into a web api
and Done
http://murmuring-depths-3923.herokuapp.com/?name=jessie
http://murmuring-depths-3923.herokuapp.com/?name[0]=peter&na...
Compared to:
http://api.genderize.io/?name=jessie
http://api.genderize.io/?name[0]=peter&name[1]=lois&name[2]=...
I just wanted to learn basic Sinatra, but I might try to do the POST operations too.
http://genderizer.herokuapp.com/?name=jessie
http://genderizer.herokuapp.com/?name[0]=peter&name[1]=lois&...