How to access openflow via API?

How to access openflow via API?

There are 2 api’s but v1 will be removed at some point, so will recommend you use this

It pretty much the same across languages