测试已测试 | ✓ |
Lang语言 | Obj-CObjective C |
许可证 | MIT |
Released最新版本 | 2014年12月 |
由 Victor Berga 维护。
为了向官方服务发送请求,您需要提供用户名和密码。更多信息请参阅这里。
根据瓦伦西亚市政府提供的文档,所有服务都返回三个结果。更多信息请参阅此PDF(西班牙语)。
导入主头文件
#import <VODValenciaOpenData/VODValencia.h>
[VODParking findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODTaxi findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODValenbisiParking findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODValenbisiBike findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODWifi findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODTraffic findAllByCoordinates:coordinates // User location
completion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
[VODContainer findAllByType:VODOilContainer // Container's type
coordinates:coordinates // User location
ompletion:^(NSArray *elements, // Completion handler
NSError *error)) {
/** Handle results or error */
}];
VBValenciaOpenData 在 MIT 许可下可用。有关更多信息,请参阅LICENSE文件。