V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JoyLife
V2EX  ›  推广

5 欧 12 年的 Simyo eSIM,支持脚本获取写入 5ber 的二维码

  •  
  •   JoyLife · 12 天前 · 625 次点击

    看到大家对这个 Esim 兴趣不高,可能是没有实体卡不方便,其实买一个 5ber 来专门做 ESIM 卡还是很合算的,拿到卡片就可以注册 Simyo 直接空中发卡了。

    导入 Postman 后

    选择左侧 Simyo ESIM 文件夹

    选择左侧 1.登录会员账号,在右侧填入邮箱里的手机号+密码,点击蓝色 Send

    之后依次选择 2-Send/3-Send

    最后就可以看到添加 eSIM 的 QRCode

    5ber 邀请码:30EN13

    giffgaff 申请:http://www.giffgaff.com/orders/affiliate/hello95017_1698582904684

    Simyo 申请:https://vriendendeal.simyo.nl/prepaid/AvL8WZP

    {
    	"info": {
    		"_postman_id": "9389a42d-32fb-4546-9373-d7815683629f",
    		"name": "Simyo ESIM",
    		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    		"_exporter_id": "34309361"
    	},
    	"item": [
    		{
    			"name": "1.登录会员账号",
    			"event": [
    				{
    					"listen": "test",
    					"script": {
    						"exec": [
    							"var data=JSON.parse(responseBody);\r",
    							"pm.environment.set(\"session_token\", data.result.sessionToken)"
    						],
    						"type": "text/javascript",
    						"packages": {}
    					}
    				}
    			],
    			"request": {
    				"method": "POST",
    				"header": [
    					{
    						"key": "X-Client-Token",
    						"value": "e77b7e2f43db41bb95b17a2a11581a38",
    						"type": "text"
    					},
    					{
    						"key": "X-Client-Platform",
    						"value": "android",
    						"type": "text"
    					},
    					{
    						"key": "X-Client-Version",
    						"value": "3.64.4",
    						"type": "text"
    					},
    					{
    						"key": "X-Session-Token",
    						"value": "",
    						"type": "text"
    					},
    					{
    						"key": "User-Agent",
    						"value": "MijnSimyo/3.64.4 (Linux; Android 13; Scale/2.75)",
    						"type": "text"
    					},
    					{
    						"key": "Content-Type",
    						"value": "application/json; charset=UTF-8",
    						"type": "text"
    					},
    					{
    						"key": "Connection",
    						"value": "Keep-Alive",
    						"type": "text"
    					},
    					{
    						"key": "Accept-Encoding",
    						"value": "gzip",
    						"type": "text"
    					}
    				],
    				"body": {
    					"mode": "raw",
    					"raw": "{\"password\":\"xxxxxxxx\",\"phoneNumber\":\"06xxxxxxxx\"}"
    				},
    				"url": {
    					"raw": "https://appapi.simyo.nl/simyoapi/api/v1/sessions",
    					"protocol": "https",
    					"host": [
    						"appapi",
    						"simyo",
    						"nl"
    					],
    					"path": [
    						"simyoapi",
    						"api",
    						"v1",
    						"sessions"
    					]
    				}
    			},
    			"response": []
    		},
    		{
    			"name": "2.请求 ESIM",
    			"event": [
    				{
    					"listen": "test",
    					"script": {
    						"exec": [
    							"var data_esim=JSON.parse(responseBody);\r",
    							"pm.environment.set(\"activationCode\", data_esim.result.activationCode)"
    						],
    						"type": "text/javascript",
    						"packages": {}
    					}
    				}
    			],
    			"request": {
    				"method": "GET",
    				"header": [
    					{
    						"key": "X-Client-Token",
    						"value": "e77b7e2f43db41bb95b17a2a11581a38",
    						"type": "text"
    					},
    					{
    						"key": "X-Client-Platform",
    						"value": "android",
    						"type": "text"
    					},
    					{
    						"key": "X-Client-Version",
    						"value": "3.64.4",
    						"type": "text"
    					},
    					{
    						"key": "X-Session-Token",
    						"value": "{{session_token}}",
    						"type": "text"
    					},
    					{
    						"key": "User-Agent",
    						"value": "MijnSimyo/3.64.4 (Linux; Android 13; Scale/2.75)",
    						"type": "text"
    					},
    					{
    						"key": "Content-Type",
    						"value": "application/json; charset=UTF-8",
    						"type": "text"
    					},
    					{
    						"key": "Connection",
    						"value": "Keep-Alive",
    						"type": "text"
    					},
    					{
    						"key": "Accept-Encoding",
    						"value": "gzip",
    						"type": "text"
    					}
    				],
    				"url": {
    					"raw": "https://appapi.simyo.nl/simyoapi/api/v1/esim/get-by-customer",
    					"protocol": "https",
    					"host": [
    						"appapi",
    						"simyo",
    						"nl"
    					],
    					"path": [
    						"simyoapi",
    						"api",
    						"v1",
    						"esim",
    						"get-by-customer"
    					]
    				}
    			},
    			"response": []
    		},
    		{
    			"name": "3.生成 ESIM 二维码",
    			"request": {
    				"method": "GET",
    				"header": [],
    				"url": {
    					"raw": "https://api.qrserver.com/v1/create-qr-code/?data=LPA:{{activationCode}}&size=200x200",
    					"protocol": "https",
    					"host": [
    						"api",
    						"qrserver",
    						"com"
    					],
    					"path": [
    						"v1",
    						"create-qr-code",
    						""
    					],
    					"query": [
    						{
    							"key": "data",
    							"value": "LPA:{{activationCode}}"
    						},
    						{
    							"key": "size",
    							"value": "200x200"
    						}
    					]
    				}
    			},
    			"response": []
    		}
    	],
    	"variable": [
    		{
    			"key": "Sy.sessionToken",
    			"value": "JsonData.result.sessionToken"
    		}
    	]
    }
    
    2 条回复    2024-05-02 20:53:00 +08:00
    yscnysj
        1
    yscnysj  
       7 天前
    直接申请的 esim 可以用这个方式写入 5ber 吗?
    JoyLife
        2
    JoyLife  
    OP
       2 天前
    @yscnysj 是的,这个方法可以直接申请到 esim
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2595 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.