Is there any Python API that can get a PGP public key from a public key server?
You can use HTTP (urllib2 and nice soup is my choice) if you are requesting a MIT PGP key server.
http://pgp.mit.edu/extracthelp.html