While QgsWmsProvider isn't exposed through SIP, I would use OWSLib [1]<div><br></div><div>giovanni<br><div><br></div><div>[1] 
<a href="http://geopython.github.com/OWSLib/">http://geopython.github.com/OWSLib/</a> <br><br><div class="gmail_quote">2012/8/23 Alexander Bruy <span dir="ltr"><<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
It is possible to add WMS layers from Python plugin using<br>
QgsRasterLayer class. But seems there is no way to work<br>
with server itself, e.g request list of layers, available CRS<br>
and formats.<br>
<br>
As I understand, to make this possible we need to expose<br>
QgsWmsProvider in SIP bindings. Maybe there is a better<br>
way to do this? Any hints are more than welcome.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">--<br>
Alexander Bruy<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></span></blockquote></div><br></div></div>