Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

added new api's and change endpoints for addressapi #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yemregundogmus
Copy link
Contributor

Adress api tarafına;

  • NER API eklendi.
  • Trendyol BFF API, GoogleGeocode API ile değiştirildi.
  • Regex'in yeni versiyonu eklendi.

Ayrıca ner write api pipeline'ına eklendi. (Aktif olarak kullanılmıyor, api keyde problem var.)

Adress api tarafına;

- NER API eklendi.
- Trendyol BFF API, GoogleGeocode API ile değiştirildi.
- Regex'in yeni versiyonu eklendi.

Ayrıca ner write api pipeline'ına eklendi. (Aktif olarak kullanılmıyor, api keyde problem var.)
Copy link

@younver younver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#135

Yukarıdaki PR Trendyol BFF'ten gelen verileri değerlendirip optimal olan adresi seçerek hem frontend hem de backend tarafındaki issue'ları kapatıyordu. Eğer uygunsa sizin kodlarınızla birleştirmek isterim.

Copy link

@younver younver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aynı text ile 3 farklı api'a çağrı yapınca en olası sonucu Trendyol BFF döndürüyor(Gaziantep)~~

REGEX
{'city': '', 'distinct': '', 'neighbourhood': 'necip fazil', 'excessData': {'street_road': '', 'complex': '', 'apartment': '', 'part': '', 'block': '', 'floor': '', 'apartment_no': '', 'phone': ''}, 'originalText': 'Necip Fazıl', 'address': 'necip fazil', 'ws': 0.14285714285714285}

GOOGLE
{'address': 'Necip Fazıl', 'latitude': 37.7758234, 'longitude': 29.0611916, 'northeast_lat': 37.77698717989272, 'northeast_lng': 29.06247297989272, 'southwest_lat': 37.77428752010728, 'southwest_lng': 29.05977332010728, 'formatted_address': 'Merkezefendi Mahallesi, 443/3. Sk. No:20, 20010 Merkezefendi/Denizli, Türkiye', 'is_resolved': True}

TRENDYOL
{'address': 'Necip Fazıl', 'latitude': 37.078357, 'longitude': 37.371815, 'northeast_lat': 37.07971977989272, 'northeast_lng': 37.37286707989273, 'southwest_lat': 37.07702012010727, 'southwest_lng': 37.37016742010728, 'formatted_address': 'Hürriyet, No:, 33003. Sk. No:19, 27500 Şehitkamil/Gaziantep, Türkiye', 'is_resolved': True}

özel bir sebebi yoksa Trendyol BFF'i çıkarmamak daha sağlıklı olabilir.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants