Giter Site home page Giter Site logo

seoul-openapi-postman-collection's Introduction

seoul-openapi-postman-collection's People

Contributors

hkjang avatar

Stargazers

 avatar Quenedi Santos avatar  avatar

Watchers

James Cloos avatar  avatar

seoul-openapi-postman-collection's Issues

node-red flow

[{"id":"3d8e42ae.38824e","type":"function","z":"e5a7eb5a.fa7a68","name":"","func":"// msg.payload[1] = {\n//          \"id\": \"get-utc-time-now\",\n//          \"name\": \"Get the current time in UTC\",\n//          \"description\": \"Get the current time in UTC\",\n//          \"request\": \"{{apiBaseUrl}}/utc/now?a=a\"\n// }\n// {\n//     \"INF_ID\": \"OA-10004\",\n//     \"INF_NM\": \"서울시 강서구 모범음식점 취소 현황\",\n//     \"API_SERVICE_NM\": \"GangseoModelRestaurantCancel\",\n//     \"REQ_URL\": \"http://openAPI.gangseo.seoul.kr:8088\",\n//     \"REQ_INFO\": \"/인증키/요청타입(xml,xls,json)/GangseoModelRestaurantCancel/요청위치(정수)/요청종료위치(정수)\",\n//     \"EXM_NM\": \"강서구 모범음식점(취소현황) 조회\",\n//     \"EXM_URL\": \"http://openAPI.gangseo.seoul.kr:8088/sample/xml/GangseoModelRestaurantCancel/1/5/\",\n//     \"META_URL\": \"http://data.gangseo.go.kr/openinf/openapiview.jsp?infId=OA-10004\"\n// }\nmsg2 = {};\n// node.error(msg.payload['SearchOpenAPIService'].row);\nmsg2.payload = [];\nfor(var i in msg.payload['SearchOpenAPIService'].row){\n    msg2.payload[i] = {};\n    msg2.payload[i].id =  msg.payload['SearchOpenAPIService'].row[i].INF_ID;\n    msg2.payload[i].name =  msg.payload['SearchOpenAPIService'].row[i].INF_NM;\n    msg2.payload[i]['description'] =  msg.payload['SearchOpenAPIService'].row[i].REQ_INFO;\n    msg2.payload[i]['request'] =  msg.payload['SearchOpenAPIService'].row[i].EXM_URL;\n}\n\nreturn msg2;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":300,"y":200,"wires":[["302455b7.c3374a"]]},{"id":"e5b035d5.b5f018","type":"inject","z":"e5a7eb5a.fa7a68","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":160,"wires":[["55014c4f.14e674"]]},{"id":"55014c4f.14e674","type":"function","z":"e5a7eb5a.fa7a68","name":"","func":"// 서울시 열린데이터광장 Open API 현황\n\nmsg.apikey = '';\nmsg.apiname = 'SearchOpenAPIService';\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":290,"y":160,"wires":[["bf54de20.0caab"]]},{"id":"bf54de20.0caab","type":"http request","z":"e5a7eb5a.fa7a68","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"http://openapi.seoul.go.kr:8088/{{{apikey}}}/json/{{{apiname}}}/1/1000/","tls":"","persist":false,"proxy":"","authType":"","x":490,"y":160,"wires":[["3d8e42ae.38824e"]]},{"id":"9d94200a.d336f","type":"debug","z":"e5a7eb5a.fa7a68","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":790,"y":200,"wires":[]},{"id":"b0bcb731.4b94b8","type":"file","z":"e5a7eb5a.fa7a68","name":"","filename":"/download/collection.json","appendNewline":true,"createDir":true,"overwriteFile":"true","encoding":"none","x":830,"y":240,"wires":[["5be13aee.379594"]]},{"id":"5be13aee.379594","type":"debug","z":"e5a7eb5a.fa7a68","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1030,"y":240,"wires":[]},{"id":"302455b7.c3374a","type":"postman","z":"e5a7eb5a.fa7a68","name":"Payload to Postman Collection JSON","apiBaseUrl":"http://openAPI.gangseo.seoul.kr:8088","collectionName":"openapi collection","version":"0.0.1","x":530,"y":200,"wires":[["9d94200a.d336f","b0bcb731.4b94b8"]]}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.