Should have been using the familiar "this" instead of "self"
Added code to parse the xml currency api