f_phone 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3affbf4b6b669db00abffc1824b894b9c7fcffe7fa280925f4c920631e137500
4
+ data.tar.gz: be28fc19eed62dc1d48960d9cc5128ea6c9ef026d00558a0dd22a8b20dfced6f
5
+ SHA512:
6
+ metadata.gz: 8a058205ff8f9d1df81739dcbba42d29c1524718908f9cbb6b5c3caa85ddf6dc101d5aee1e909e86777ab3fe61f9d82e2dbb9b0e16d4142defdf99ca20752acc
7
+ data.tar.gz: 6561ef8817db1f2ad3a5526f59e1be655ce2469384a14091489eb526bce279c9ab029d31d742fa67afa93eeeea60c7608850425200ffcb9a0f16ac251be7a93e
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.5.3
6
+ before_install: gem install bundler -v 2.1.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at thuan.nguyenvan0501@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in f_phone.gemspec
4
+ gemspec
5
+
6
+ gem "bundler"
7
+ gem "rake", "~> 12.0"
8
+ gem "rspec", "~> 3.0"
9
+ gem "phony", "~> 2.18"
10
+ gem "yank"
data/Gemfile.lock ADDED
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ f_phone (0.1.9)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ ethon (0.12.0)
11
+ ffi (>= 1.3.0)
12
+ ffi (1.11.3)
13
+ filesize (0.0.3)
14
+ kwalify (0.7.2)
15
+ nexus_client (0.3.0)
16
+ filesize (= 0.0.3)
17
+ trollop (= 2.0)
18
+ typhoeus (= 0.6.9)
19
+ phony (2.18.12)
20
+ rake (12.3.3)
21
+ rspec (3.9.0)
22
+ rspec-core (~> 3.9.0)
23
+ rspec-expectations (~> 3.9.0)
24
+ rspec-mocks (~> 3.9.0)
25
+ rspec-core (3.9.0)
26
+ rspec-support (~> 3.9.0)
27
+ rspec-expectations (3.9.0)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-mocks (3.9.0)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-support (3.9.0)
34
+ trollop (2.0)
35
+ typhoeus (0.6.9)
36
+ ethon (>= 0.7.1)
37
+ yank (1.1.0)
38
+ kwalify (~> 0.7.2)
39
+ nexus_client (~> 0.3.0)
40
+
41
+ PLATFORMS
42
+ ruby
43
+
44
+ DEPENDENCIES
45
+ bundler
46
+ f_phone!
47
+ phony (~> 2.18)
48
+ rake (~> 12.0)
49
+ rspec (~> 3.0)
50
+ yank
51
+
52
+ BUNDLED WITH
53
+ 2.1.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 nguyenvanthuan0501
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # FPhone
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/f_phone`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'f_phone'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install f_phone
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/f_phone. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/f_phone/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+
42
+ ## Code of Conduct
43
+
44
+ Everyone interacting in the FPhone project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/f_phone/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "f_phone"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/f_phone.gemspec ADDED
@@ -0,0 +1,31 @@
1
+ require_relative 'lib/f_phone/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "f_phone"
5
+ spec.version = FPhone::VERSION
6
+ spec.authors = ["Nguyen Van Thuan"]
7
+ spec.email = ["thuan.nguyenvan0501@gmail.com"]
8
+
9
+ spec.summary = %q{This gem provide you library to validate, format phone number,... in Viet Nam}
10
+ spec.description = %q{Used to validate phone numbers, format phone numbers according to international standards or Vietnamese standards,
11
+ extract the country code (country name) via phone number,
12
+ check the phone number of the network (within the range Viet Nam) then return to the network provider providing the phone number}
13
+ spec.homepage = "https://rubygems.org/gems/f_phone"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
16
+
17
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
18
+
19
+ # spec.metadata["homepage_uri"] = spec.homepage
20
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
21
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
26
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+ end
@@ -0,0 +1,950 @@
1
+ # List of country codes and country name in https://countrycode.org/
2
+
3
+ countries:
4
+ AF:
5
+ country_code: "93"
6
+ name: "Afghanistan"
7
+
8
+ AL:
9
+ country_code: "355"
10
+ name: "Albania"
11
+
12
+ DZ:
13
+ country_code: "213"
14
+ name: "Algeria"
15
+
16
+ AS:
17
+ country_code: " 1-684"
18
+ name: "American Samoa"
19
+
20
+ AD:
21
+ country_code: "376"
22
+ name: "Andorra"
23
+
24
+ AO:
25
+ country_code: "244"
26
+ name: "Angola"
27
+
28
+ AI:
29
+ country_code: "1-264"
30
+ name: "Anguilla"
31
+
32
+ AQ:
33
+ country_code: "672"
34
+ name: "Antarctica"
35
+
36
+ AG:
37
+ country_code: "1-268"
38
+ name: "Antigua and Barbuda"
39
+
40
+ AR:
41
+ country_code: "54"
42
+ name: "Argentina"
43
+
44
+ AM:
45
+ country_code: "374"
46
+ name: "Armenia"
47
+
48
+ AW:
49
+ country_code: "297"
50
+ name: "Aruba"
51
+
52
+ AU:
53
+ country_code: "61"
54
+ name: "Australia"
55
+
56
+ AT:
57
+ country_code: "43"
58
+ name: "Austria"
59
+
60
+ AZ:
61
+ country_code: "994"
62
+ name: "Azerbaijan"
63
+
64
+ BS:
65
+ country_code: "1-242"
66
+ name: "Bahamas"
67
+
68
+ BH:
69
+ country_code: "973"
70
+ name: "Bahrain"
71
+
72
+ BD:
73
+ country_code: "880"
74
+ name: "Bangladesh"
75
+
76
+ BB:
77
+ country_code: "1-246"
78
+ name: "Barbados"
79
+
80
+ BY:
81
+ country_code: "375"
82
+ name: "Belarus"
83
+
84
+ BE:
85
+ country_code: "32"
86
+ name: "Belgium"
87
+
88
+ BZ:
89
+ country_code: "501"
90
+ name: "Belize"
91
+
92
+ BJ:
93
+ country_code: "229"
94
+ name: "Benin"
95
+
96
+ BM:
97
+ country_code: "1-441"
98
+ name: "Bermuda"
99
+
100
+ BT:
101
+ country_code: "975"
102
+ name: "Bhutan"
103
+
104
+ BO:
105
+ country_code: "591"
106
+ name: "Bolivia"
107
+
108
+ BA:
109
+ country_code: "387"
110
+ name: "Bosnia And Herzegovina"
111
+
112
+ BW:
113
+ country_code: "267"
114
+ name: "Botswana"
115
+
116
+ BV:
117
+ country_code: "BV"
118
+ name: "Bouvet Island"
119
+
120
+ BR:
121
+ country_code: "55"
122
+ name: "Brazil"
123
+
124
+ IO:
125
+ country_code: "246"
126
+ name: "British Indian Ocean Territory"
127
+
128
+ VG:
129
+ country_code: "1-284"
130
+ name: "British Virgin Islands"
131
+
132
+ BN:
133
+ country_code: "673"
134
+ name: "Brunei"
135
+
136
+ BG:
137
+ country_code: "359"
138
+ name: "Bulgaria"
139
+
140
+ BF:
141
+ country_code: "226"
142
+ name: "Burkina Faso"
143
+
144
+ BI:
145
+ country_code: "257"
146
+ name: "Burundi"
147
+
148
+ KH:
149
+ country_code: "855"
150
+ name: "Cambodia"
151
+
152
+ CM:
153
+ country_code: "237"
154
+ name: "Cameroon"
155
+
156
+ CA:
157
+ country_code: "1"
158
+ name: "Canada"
159
+
160
+ CV:
161
+ country_code: "238"
162
+ name: "Cape Verde"
163
+
164
+ KY:
165
+ country_code: "1-345"
166
+ name: "Cayman Islands"
167
+
168
+ CF:
169
+ country_code: "236"
170
+ name: "Central African Republic"
171
+
172
+ TD:
173
+ country_code: "235"
174
+ name: "Chad"
175
+
176
+ CL:
177
+ country_code: "56"
178
+ name: "Chile"
179
+
180
+ CN:
181
+ country_code: "86"
182
+ name: "China"
183
+
184
+ CX:
185
+ country_code: "61"
186
+ name: "Christmas Island"
187
+
188
+ CC:
189
+ country_code: "61"
190
+ name: "Cocos (keeling) Islands"
191
+
192
+ CO:
193
+ country_code: "57"
194
+ name: "Colombia"
195
+
196
+ KM:
197
+ country_code: "KM"
198
+ name: "Comoros"
199
+
200
+ CG:
201
+ country_code: "CG"
202
+ name: "Congo"
203
+
204
+ CD:
205
+ country_code: "243"
206
+ name: "Congo, The Democratic Republic Of The"
207
+
208
+ CK:
209
+ country_code: "682"
210
+ name: "Cook Islands"
211
+
212
+ CU:
213
+ country_code: "53"
214
+ name: "Cuba"
215
+
216
+ CY:
217
+ country_code: "357"
218
+ name: "Cyprus"
219
+
220
+ CZ:
221
+ country_code: "420"
222
+ name: "Czech Republic"
223
+
224
+ DK:
225
+ country_code: "45"
226
+ name: "Denmark"
227
+
228
+ DJ:
229
+ country_code: "253"
230
+ name: "Djibouti"
231
+
232
+ DM:
233
+ country_code: "1-767"
234
+ name: "Dominica"
235
+
236
+ DO:
237
+ country_code: "1-809"
238
+ name: "Dominican Republic"
239
+
240
+ TP:
241
+ country_code: "TP"
242
+ name: "East Timor"
243
+
244
+ EC:
245
+ country_code: "593"
246
+ name: "Ecuador"
247
+
248
+ EG:
249
+ country_code: "20"
250
+ name: "Egypt"
251
+
252
+ SV:
253
+ country_code: "503"
254
+ name: "El Salvador"
255
+
256
+ GQ:
257
+ country_code: "240"
258
+ name: "Equatorial Guinea"
259
+
260
+ ER:
261
+ country_code: "291"
262
+ name: "Eritrea"
263
+
264
+ EE:
265
+ country_code: "372"
266
+ name: "Estonia"
267
+
268
+ ET:
269
+ country_code: "251"
270
+ name: "Ethiopia"
271
+
272
+ FK:
273
+ country_code: "500"
274
+ name: "Falkland Islands (malvinas)"
275
+
276
+ FO:
277
+ country_code: "298"
278
+ name: "Faroe Islands"
279
+
280
+ FJ:
281
+ country_code: "679"
282
+ name: "Fiji"
283
+
284
+ FI:
285
+ country_code: "358"
286
+ name: "Finland"
287
+
288
+ FR:
289
+ country_code: "33"
290
+ name: "France"
291
+
292
+ GF:
293
+ country_code: "GF"
294
+ name: "French Guiana"
295
+
296
+ PF:
297
+ country_code: "689"
298
+ name: "French Polynesia"
299
+
300
+ TF:
301
+ country_code: "TF"
302
+ name: "French Southern Territories"
303
+
304
+ GA:
305
+ country_code: "241"
306
+ name: "Gabon"
307
+
308
+ GM:
309
+ country_code: "220"
310
+ name: "Gambia"
311
+
312
+ GE:
313
+ country_code: "955"
314
+ name: "Georgia"
315
+
316
+ DE:
317
+ country_code: "49"
318
+ name: "Germany"
319
+
320
+ GH:
321
+ country_code: "233"
322
+ name: "Ghana"
323
+
324
+ GI:
325
+ country_code: "350"
326
+ name: "Gibraltar"
327
+
328
+ GR:
329
+ country_code: "30"
330
+ name: "Greece"
331
+
332
+ GL:
333
+ country_code: "299"
334
+ name: "Greenland"
335
+
336
+ GD:
337
+ country_code: "1-473"
338
+ name: "Grenada"
339
+
340
+ GP:
341
+ country_code: "GP"
342
+ name: "Guadeloupe"
343
+
344
+ GU:
345
+ country_code: "1-671"
346
+ name: "Guam"
347
+
348
+ GT:
349
+ country_code: "502"
350
+ name: "Guatemala"
351
+
352
+ GN:
353
+ country_code: "224"
354
+ name: "Guinea"
355
+
356
+ GW:
357
+ country_code: "245"
358
+ name: "Guinea-bissau"
359
+
360
+ GY:
361
+ country_code: "592"
362
+ name: "Guyana"
363
+
364
+ HT:
365
+ country_code: "509"
366
+ name: "Haiti"
367
+
368
+ HM:
369
+ country_code: "HM"
370
+ name: "Heard Island And Mcdonald Islands"
371
+
372
+ HN:
373
+ country_code: "504"
374
+ name: "Honduras"
375
+
376
+ HK:
377
+ country_code: "852"
378
+ name: "Hong Kong"
379
+
380
+ HU:
381
+ country_code: "36"
382
+ name: "Hungary"
383
+
384
+ IS:
385
+ country_code: "354"
386
+ name: "Iceland"
387
+
388
+ IN:
389
+ country_code: "91"
390
+ name: "India"
391
+
392
+ ID:
393
+ country_code: "62"
394
+ name: "Indonesia"
395
+
396
+ IR:
397
+ country_code: "98"
398
+ name: "Iran, Islamic Republic Of"
399
+
400
+ IQ:
401
+ country_code: "964"
402
+ name: "Iraq"
403
+
404
+ IE:
405
+ country_code: "353"
406
+ name: "Ireland"
407
+
408
+ IL:
409
+ country_code: "972"
410
+ name: "Israel"
411
+
412
+ IT:
413
+ country_code: "39"
414
+ name: "Italy"
415
+
416
+ JM:
417
+ country_code: "1-876"
418
+ name: "Jamaica"
419
+
420
+ JP:
421
+ country_code: "81"
422
+ name: "Japan"
423
+
424
+ JO:
425
+ country_code: "962"
426
+ name: "Jordan"
427
+
428
+ KZ:
429
+ country_code: "7"
430
+ name: "Kazakstan"
431
+
432
+ KE:
433
+ country_code: "254"
434
+ name: "Kenya"
435
+
436
+ KI:
437
+ country_code: "686"
438
+ name: "Kiribati"
439
+
440
+ KP:
441
+ country_code: "KP"
442
+ name: "Korea, Democratic People's Republic Of"
443
+
444
+ KR:
445
+ country_code: "KR"
446
+ name: "Korea, Republic Of"
447
+
448
+ KV:
449
+ country_code: "KV"
450
+ name: "Kosovo"
451
+
452
+ KW:
453
+ country_code: "965"
454
+ name: "Kuwait"
455
+
456
+ KG:
457
+ country_code: "996"
458
+ name: "Kyrgyzstan"
459
+
460
+ LA:
461
+ country_code: "856"
462
+ name: "Lao People's Democratic Republic"
463
+
464
+ LV:
465
+ country_code: "371"
466
+ name: "Latvia"
467
+
468
+ LB:
469
+ country_code: "961"
470
+ name: "Lebanon"
471
+
472
+ LS:
473
+ country_code: "266"
474
+ name: "Lesotho"
475
+
476
+ LR:
477
+ country_code: "231"
478
+ name: "Liberia"
479
+
480
+ LY:
481
+ country_code: "218"
482
+ name: "Libyan Arab Jamahiriya"
483
+
484
+ LI:
485
+ country_code: "423"
486
+ name: "Liechtenstein"
487
+
488
+ LT:
489
+ country_code: "370"
490
+ name: "Lithuania"
491
+
492
+ LU:
493
+ country_code: "352"
494
+ name: "Luxembourg"
495
+
496
+ MO:
497
+ country_code: "853"
498
+ name: "Macau"
499
+
500
+ MK:
501
+ country_code: "389"
502
+ name: "Macedonia, The Former Yugoslav Republic Of"
503
+
504
+ MG:
505
+ country_code: "261"
506
+ name: "Madagascar"
507
+
508
+ MW:
509
+ country_code: "265"
510
+ name: "Malawi"
511
+
512
+ MY:
513
+ country_code: "60"
514
+ name: "Malaysia"
515
+
516
+ MV:
517
+ country_code: "960"
518
+ name: "Maldives"
519
+
520
+ ML:
521
+ country_code: "223"
522
+ name: "Mali"
523
+
524
+ MT:
525
+ country_code: "356"
526
+ name: "Malta"
527
+
528
+ MH:
529
+ country_code: "692"
530
+ name: "Marshall Islands"
531
+
532
+ MQ:
533
+ country_code: "MQ"
534
+ name: "Martinique"
535
+
536
+ MR:
537
+ country_code: "222"
538
+ name: "Mauritania"
539
+
540
+ MU:
541
+ country_code: "230"
542
+ name: "Mauritius"
543
+
544
+ YT:
545
+ country_code: "262"
546
+ name: "Mayotte"
547
+
548
+ MX:
549
+ country_code: "52"
550
+ name: "Mexico"
551
+
552
+ FM:
553
+ country_code: "691"
554
+ name: "Micronesia, Federated States Of"
555
+
556
+ MD:
557
+ country_code: "373"
558
+ name: "Moldova, Republic Of"
559
+
560
+ MC:
561
+ country_code: "377"
562
+ name: "Monaco"
563
+
564
+ MN:
565
+ country_code: "976"
566
+ name: "Mongolia"
567
+
568
+ MS:
569
+ country_code: "1-664"
570
+ name: "Montserrat"
571
+
572
+ ME:
573
+ country_code: "382"
574
+ name: "Montenegro"
575
+
576
+ MA:
577
+ country_code: "212"
578
+ name: "Morocco"
579
+
580
+ MZ:
581
+ country_code: "258"
582
+ name: "Mozambique"
583
+
584
+ MM:
585
+ country_code: "95"
586
+ name: "Myanmar"
587
+
588
+ NA:
589
+ country_code: "264"
590
+ name: "Namibia"
591
+
592
+ NR:
593
+ country_code: "674"
594
+ name: "Nauru"
595
+
596
+ NP:
597
+ country_code: "977"
598
+ name: "Nepal"
599
+
600
+ NL:
601
+ country_code: "31"
602
+ name: "Netherlands"
603
+
604
+ AN:
605
+ country_code: "599"
606
+ name: "Netherlands Antilles"
607
+
608
+ NC:
609
+ country_code: "687"
610
+ name: "New Caledonia"
611
+
612
+ NZ:
613
+ country_code: "64"
614
+ name: "New Zealand"
615
+
616
+ NI:
617
+ country_code: "505"
618
+ name: "Nicaragua"
619
+
620
+ NE:
621
+ country_code: "227"
622
+ name: "Niger"
623
+
624
+ NG:
625
+ country_code: "234"
626
+ name: "Nigeria"
627
+
628
+ NU:
629
+ country_code: "683"
630
+ name: "Niue"
631
+
632
+ NF:
633
+ country_code: "NF"
634
+ name: "Norfolk Island"
635
+
636
+ MP:
637
+ country_code: "1-670"
638
+ name: "Northern Mariana Islands"
639
+
640
+ NO:
641
+ country_code: "47"
642
+ name: "Norway"
643
+
644
+ OM:
645
+ country_code: "968"
646
+ name: "Oman"
647
+
648
+ PK:
649
+ country_code: "92"
650
+ name: "Pakistan"
651
+
652
+ PW:
653
+ country_code: "680"
654
+ name: "Palau"
655
+
656
+ PS:
657
+ country_code: "970"
658
+ name: "Palestinian Territory, Occupied"
659
+
660
+ PA:
661
+ country_code: "507"
662
+ name: "Panama"
663
+
664
+ PG:
665
+ country_code: "675"
666
+ name: "Papua New Guinea"
667
+
668
+ PY:
669
+ country_code: "595"
670
+ name: "Paraguay"
671
+
672
+ PE:
673
+ country_code: "51"
674
+ name: "Peru"
675
+
676
+ PH:
677
+ country_code: "63"
678
+ name: "Philippines"
679
+
680
+ PN:
681
+ country_code: "64"
682
+ name: "Pitcairn"
683
+
684
+ PL:
685
+ country_code: "48"
686
+ name: "Poland"
687
+
688
+ PT:
689
+ country_code: "351"
690
+ name: "Portugal"
691
+
692
+ PR:
693
+ country_code: "1-787"
694
+ name: "Puerto Rico"
695
+
696
+ QA:
697
+ country_code: "974"
698
+ name: "Qatar"
699
+
700
+ RE:
701
+ country_code: "262"
702
+ name: "Reunion"
703
+
704
+ RO:
705
+ country_code: "40"
706
+ name: "Romania"
707
+
708
+ RU:
709
+ country_code: "7"
710
+ name: "Russian Federation"
711
+
712
+ RW:
713
+ country_code: "250"
714
+ name: "Rwanda"
715
+
716
+ SH:
717
+ country_code: "290"
718
+ name: "Saint Helena"
719
+
720
+ KN:
721
+ country_code: "1-869"
722
+ name: "Saint Kitts And Nevis"
723
+
724
+ LC:
725
+ country_code: "1-758"
726
+ name: "Saint Lucia"
727
+
728
+ PM:
729
+ country_code: "508"
730
+ name: "Saint Pierre And Miquelon"
731
+
732
+ VC:
733
+ country_code: "1-784"
734
+ name: "Saint Vincent And The Grenadines"
735
+
736
+ WS:
737
+ country_code: "685"
738
+ name: "Samoa"
739
+
740
+ SM:
741
+ country_code: "378"
742
+ name: "San Marino"
743
+
744
+ ST:
745
+ country_code: "239"
746
+ name: "Sao Tome And Principe"
747
+
748
+ SA:
749
+ country_code: "966"
750
+ name: "Saudi Arabia"
751
+
752
+ SN:
753
+ country_code: "221"
754
+ name: "Senegal"
755
+
756
+ RS:
757
+ country_code: "381"
758
+ name: "Serbia"
759
+
760
+ SC:
761
+ country_code: "248"
762
+ name: "Seychelles"
763
+
764
+ SL:
765
+ country_code: "232"
766
+ name: "Sierra Leone"
767
+
768
+ SG:
769
+ country_code: "65"
770
+ name: "Singapore"
771
+
772
+ SK:
773
+ country_code: "421"
774
+ name: "Slovakia"
775
+
776
+ SI:
777
+ country_code: "386"
778
+ name: "Slovenia"
779
+
780
+ SB:
781
+ country_code: "677"
782
+ name: "Solomon Islands"
783
+
784
+ SO:
785
+ country_code: "252"
786
+ name: "Somalia"
787
+
788
+ ZA:
789
+ country_code: "27"
790
+ name: "South Africa"
791
+
792
+ GS:
793
+ country_code: "GS"
794
+ name: "South Georgia And The South Sandwich Islands"
795
+
796
+ ES:
797
+ country_code: "34"
798
+ name: "Spain"
799
+
800
+ LK:
801
+ country_code: "94"
802
+ name: "Sri Lanka"
803
+
804
+ SD:
805
+ country_code: "249"
806
+ name: "Sudan"
807
+
808
+ SR:
809
+ country_code: "597"
810
+ name: "Suriname"
811
+
812
+ SJ:
813
+ country_code: "47"
814
+ name: "Svalbard And Jan Mayen"
815
+
816
+ SZ:
817
+ country_code: "268"
818
+ name: "Swaziland"
819
+
820
+ SE:
821
+ country_code: "46"
822
+ name: "Sweden"
823
+
824
+ CH:
825
+ country_code: "41"
826
+ name: "Switzerland"
827
+
828
+ SY:
829
+ country_code: "963"
830
+ name: "Syrian Arab Republic"
831
+
832
+ TW:
833
+ country_code: "886"
834
+ name: "Taiwan, Province Of China"
835
+
836
+ TJ:
837
+ country_code: "992"
838
+ name: "Tajikistan"
839
+
840
+ TZ:
841
+ country_code: "255"
842
+ name: "Tanzania, United Republic Of"
843
+
844
+ TH:
845
+ country_code: "66"
846
+ name: "Thailand"
847
+
848
+ TG:
849
+ country_code: "228"
850
+ name: "Togo"
851
+
852
+ TK:
853
+ country_code: "690"
854
+ name: "Tokelau"
855
+
856
+ TO:
857
+ country_code: "676"
858
+ name: "Tonga"
859
+
860
+ TT:
861
+ country_code: "1-868"
862
+ name: "Trinidad And Tobago"
863
+
864
+ TN:
865
+ country_code: "216"
866
+ name: "Tunisia"
867
+
868
+ TR:
869
+ country_code: "90"
870
+ name: "Turkey"
871
+
872
+ TM:
873
+ country_code: "993"
874
+ name: "Turkmenistan"
875
+
876
+ TC:
877
+ country_code: "1-649"
878
+ name: "Turks And Caicos Islands"
879
+
880
+ TV:
881
+ country_code: "688"
882
+ name: "Tuvalu"
883
+
884
+ VI:
885
+ country_code: "1-340"
886
+ name: "Virgin Islands, U.s."
887
+
888
+ UG:
889
+ country_code: "256"
890
+ name: "Uganda"
891
+
892
+ UA:
893
+ country_code: "380"
894
+ name: "Ukraine"
895
+
896
+ AE:
897
+ country_code: "971"
898
+ name: "United Arab Emirates"
899
+
900
+ GB:
901
+ country_code: "44"
902
+ name: "United Kingdom"
903
+
904
+ US:
905
+ country_code: "1"
906
+ name: "United States"
907
+
908
+ UY:
909
+ country_code: "598"
910
+ name: "Uruguay"
911
+
912
+ UZ:
913
+ country_code: "998"
914
+ name: "Uzbekistan"
915
+
916
+ VU:
917
+ country_code: "678"
918
+ name: "Vanuatu"
919
+
920
+ VA:
921
+ country_code: "379"
922
+ name: "Vatican"
923
+
924
+ VE:
925
+ country_code: "58"
926
+ name: "Venezuela"
927
+
928
+ VN:
929
+ country_code: "84"
930
+ name: "Viet Nam"
931
+
932
+ WF:
933
+ country_code: "681"
934
+ name: "Wallis And Futuna"
935
+
936
+ EH:
937
+ country_code: "212"
938
+ name: "Western Sahara"
939
+
940
+ YE:
941
+ country_code: "967"
942
+ name: "Yemen"
943
+
944
+ ZM:
945
+ country_code: "260"
946
+ name: "Zambia"
947
+
948
+ ZW:
949
+ country_code: "263"
950
+ name: "Zimbabwe"