{"action":"created","issue":{"url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/119","repository_url":"https://api.github.com/repos/uber/rides-ios-sdk","labels_url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/119/comments","events_url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/119/events","html_url":"https://github.com/uber/rides-ios-sdk/issues/119","id":179951610,"number":119,"title":"Currency issue","user":{"login":"quanghd","id":26841,"avatar_url":"https://avatars.githubusercontent.com/u/26841?v=3","gravatar_id":"","url":"https://api.github.com/users/quanghd","html_url":"https://github.com/quanghd","followers_url":"https://api.github.com/users/quanghd/followers","following_url":"https://api.github.com/users/quanghd/following{/other_user}","gists_url":"https://api.github.com/users/quanghd/gists{/gist_id}","starred_url":"https://api.github.com/users/quanghd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quanghd/subscriptions","organizations_url":"https://api.github.com/users/quanghd/orgs","repos_url":"https://api.github.com/users/quanghd/repos","events_url":"https://api.github.com/users/quanghd/events{/privacy}","received_events_url":"https://api.github.com/users/quanghd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-29T04:44:31Z","updated_at":"2016-10-18T16:27:27Z","closed_at":null,"body":"Hi, I'm Vietnamese developer.\r\n\r\nWhen I requested this API:\r\n\r\nhttps://developer.uber.com/docs/rides/api/v1-estimates-price\r\n\r\nIt returned different unit for _estimate, high_estimate, low_estimate_ values:\r\n\r\n{\r\n    prices =     (\r\n                {\r\n            \"currency_code\" = VND;\r\n            \"display_name\" = uberMOTO;\r\n            distance = \"1.18\";\r\n            duration = 360;\r\n            estimate = \"10.000\\U00a0\\U20ab\";\r\n            \"high_estimate\" = 10;\r\n            \"localized_display_name\" = uberMOTO;\r\n            \"low_estimate\" = 10;\r\n            minimum = 10000;\r\n            \"product_id\" = \"9988f406-d98b-48eb-a4b7-a1645fa78e8e\";\r\n            \"surge_multiplier\" = 1;\r\n        },\r\n                {\r\n            \"currency_code\" = VND;\r\n            \"display_name\" = uberX;\r\n            distance = \"1.18\";\r\n            duration = 360;\r\n            estimate = \"15.171-18.616\\U00a0\\U20ab\";\r\n            \"high_estimate\" = 18;\r\n            \"localized_display_name\" = uberX;\r\n            \"low_estimate\" = 15;\r\n            minimum = 5000;\r\n            \"product_id\" = \"4e6b60d5-8e3a-4772-86b5-324d09b0ce39\";\r\n            \"surge_multiplier\" = 1;\r\n        },\r\n                {\r\n            \"currency_code\" = VND;\r\n            \"display_name\" = UberBLACK;\r\n            distance = \"1.18\";\r\n            duration = 360;\r\n            estimate = \"25.751-32.771\\U00a0\\U20ab\";\r\n            \"high_estimate\" = 32;\r\n            \"localized_display_name\" = UberBLACK;\r\n            \"low_estimate\" = 25;\r\n            minimum = 5000;\r\n            \"product_id\" = \"995a3c4a-fd8b-4a99-92f7-bb341b0addc6\";\r\n            \"surge_multiplier\" = 1;\r\n        },\r\n                {\r\n            \"currency_code\" = VND;\r\n            \"display_name\" = SUV;\r\n            distance = \"1.18\";\r\n            duration = 360;\r\n            estimate = \"25.751-32.771\\U00a0\\U20ab\";\r\n            \"high_estimate\" = 32;\r\n            \"localized_display_name\" = SUV;\r\n            \"low_estimate\" = 25;\r\n            minimum = 5000;\r\n            \"product_id\" = \"9da8622e-e084-4a53-96d1-e510c4838b56\";\r\n            \"surge_multiplier\" = 1;\r\n        }\r\n    );\r\n}\r\n\r\nThe values in \"estimate\" field is correct, the values in high_estimate and low_estimate must be multiplied by 1000.\r\n\r\nPlease fix it soon."},"comment":{"url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/comments/254562810","html_url":"https://github.com/uber/rides-ios-sdk/issues/119#issuecomment-254562810","issue_url":"https://api.github.com/repos/uber/rides-ios-sdk/issues/119","id":254562810,"user":{"login":"arogal","id":5321120,"avatar_url":"https://avatars.githubusercontent.com/u/5321120?v=3","gravatar_id":"","url":"https://api.github.com/users/arogal","html_url":"https://github.com/arogal","followers_url":"https://api.github.com/users/arogal/followers","following_url":"https://api.github.com/users/arogal/following{/other_user}","gists_url":"https://api.github.com/users/arogal/gists{/gist_id}","starred_url":"https://api.github.com/users/arogal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arogal/subscriptions","organizations_url":"https://api.github.com/users/arogal/orgs","repos_url":"https://api.github.com/users/arogal/repos","events_url":"https://api.github.com/users/arogal/events{/privacy}","received_events_url":"https://api.github.com/users/arogal/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T16:27:26Z","updated_at":"2016-10-18T16:27:26Z","body":"They are actually floats. The change is a bit more complicated than that,\nbut something we are working on.\n\nOn Tue, Oct 18, 2016, 9:23 AM quanghd <notifications@github.com> wrote:\n\n> @arogal <https://github.com/arogal> Can you just return float format for\n> these values?\n>\n> —\n> You are receiving this because you were mentioned.\n>\n>\n> Reply to this email directly, view it on GitHub\n> <https://github.com/uber/rides-ios-sdk/issues/119#issuecomment-254561634>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AFExoK60nXibPGvd7w6qGBHtfYaw4Sazks5q1PKVgaJpZM4KJkwy>\n> .\n>\n"}}
{"actor":{"display_login":"arogal"}}